From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932362AbcGDQYp (ORCPT ); Mon, 4 Jul 2016 12:24:45 -0400 Received: from 9.mo69.mail-out.ovh.net ([46.105.56.78]:36584 "EHLO 9.mo69.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750713AbcGDQYo (ORCPT ); Mon, 4 Jul 2016 12:24:44 -0400 X-Greylist: delayed 4540 seconds by postgrey-1.27 at vger.kernel.org; Mon, 04 Jul 2016 12:24:44 EDT Date: Mon, 4 Jul 2016 17:08:49 +0200 From: Greg Kurz To: Dominique Martinet Cc: Eric Van Hensbergen , Latchesar Ionkov , , , , Ron Minnich , "David S. Miller" Subject: Re: [PATCH 0/3] fs/9p: fix setattr/getattr issues with open files Message-ID: <20160704170849.1654d6a0@bahia.lan> In-Reply-To: <20160704141655.GA5799@u-isr-cdi-08> References: <146659832556.15781.17414806975641516683.stgit@bahia.lan> <20160704141655.GA5799@u-isr-cdi-08> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 8938519362750748972 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeltddrvddvgdekfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 4 Jul 2016 16:16:55 +0200 Dominique Martinet wrote: > I *think* this introduces a race somewhere, I'm getting errors like: > cat: f.05: No such file or directory > cat: f.14: No such file or directory > cat: f.13: No such file or directory > cat: f.39: No such file or directory > cat: f.05: No such file or directory > > > when doing: > for file in {01..50}; do touch f.${file}; done > seq 1 1000 | xargs -n 1 -P 25 -I{} cat f.* > /dev/null > > > > I don't get it everytime but close enough to. Server is bi-socket and > has some numa effects which help producing data-synchronization races, > it's probably harder to hit on a laptop. > > I'm simply trying over a patched qemu for now, applied patches right on > top of 4.6.1, can't seem to reproduce with a vanilla 4.6.1 without any > change to qemu (still patched), so it looks kernel-side. > > > Can't say I've taken much time to look at the patches yet though, > sorry - I don't think it's too hard to debug though so I'll take a look > tomorrow as soon as I find time if you haven't gotten it by then. > Hi Dominique ! Thanks a lot for your testing. I'll try to reproduce on my POWER8 system. Cheers. -- Greg