From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK4gd-00079A-IR for qemu-devel@nongnu.org; Mon, 04 Jul 2016 10:17:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bK4ga-0003n8-5r for qemu-devel@nongnu.org; Mon, 04 Jul 2016 10:17:23 -0400 Received: from sainfoin-out.extra.cea.fr ([132.167.192.145]:51970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK4gZ-0003hc-Qd for qemu-devel@nongnu.org; Mon, 04 Jul 2016 10:17:20 -0400 Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by sainfoin.extra.cea.fr (8.15.2/8.15.2/CEAnet-Internet-out-2.4) with ESMTP id u64EHBl7001503 for ; Mon, 4 Jul 2016 16:17:11 +0200 Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 5C21E2034E0 for ; Mon, 4 Jul 2016 16:18:19 +0200 (CEST) Received: from muguet1.intra.cea.fr (muguet1.intra.cea.fr [132.166.192.6]) by pisaure.intra.cea.fr (Postfix) with ESMTP id 38C12206691 for ; Mon, 4 Jul 2016 16:18:19 +0200 (CEST) Received: from zia.cdc.esteban.ctsi (out.dam.intra.cea.fr [132.165.76.10]) by muguet1.intra.cea.fr (8.15.2/8.15.2/CEAnet-Intranet-out-1.4) with SMTP id u64EHBed020394 for ; Mon, 4 Jul 2016 16:17:11 +0200 Date: Mon, 4 Jul 2016 16:16:55 +0200 From: Dominique Martinet Message-ID: <20160704141655.GA5799@u-isr-cdi-08> References: <146659832556.15781.17414806975641516683.stgit@bahia.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <146659832556.15781.17414806975641516683.stgit@bahia.lan> 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: Greg Kurz 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" 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. -- Dominique