From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754206AbcGDPS6 (ORCPT ); Mon, 4 Jul 2016 11:18:58 -0400 Received: from oxalide-out.extra.cea.fr ([132.168.224.8]:51292 "EHLO oxalide-out.extra.cea.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750820AbcGDPSy (ORCPT ); Mon, 4 Jul 2016 11:18:54 -0400 X-Greylist: delayed 3700 seconds by postgrey-1.27 at vger.kernel.org; Mon, 04 Jul 2016 11:18:54 EDT Date: Mon, 4 Jul 2016 16:16:55 +0200 From: Dominique Martinet To: Greg Kurz 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: <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> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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