From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK5Ug-0000Be-70 for qemu-devel@nongnu.org; Mon, 04 Jul 2016 11:09:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bK5Uc-0008Sa-0y for qemu-devel@nongnu.org; Mon, 04 Jul 2016 11:09:05 -0400 Received: from 9.mo69.mail-out.ovh.net ([46.105.56.78]:60535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK5Ub-0008SU-QW for qemu-devel@nongnu.org; Mon, 04 Jul 2016 11:09:01 -0400 Received: from player789.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo69.mail-out.ovh.net (Postfix) with ESMTP id EC16D1004DA1 for ; Mon, 4 Jul 2016 17:09:00 +0200 (CEST) Date: Mon, 4 Jul 2016 17:08:49 +0200 From: Greg Kurz 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/3] fs/9p: fix setattr/getattr issues with open files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dominique Martinet Cc: Eric Van Hensbergen , Latchesar Ionkov , linux-kernel@vger.kernel.org, qemu-devel@nongnu.org, v9fs-developer@lists.sourceforge.net, Ron Minnich , "David S. Miller" 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