Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1436375

Re: [PATCH 0/3] fs/9p: fix setattr/getattr issues with open files

From Greg Kurz <groug@kaod.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] fs/9p: fix setattr/getattr issues with open files
Date 2016-07-04 18:30 +0200
Message-ID <rReUW-7St-21@gated-at.bofh.it> (permalink)
References <rMPs5-3ix-13@gated-at.bofh.it> <rRdPb-7gk-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 4 Jul 2016 16:16:55 +0200
Dominique Martinet <dominique.martinet@cea.fr> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 0/3] fs/9p: fix setattr/getattr issues with open files Dominique Martinet <dominique.martinet@cea.fr> - 2016-07-04 17:20 +0200
  Re: [PATCH 0/3] fs/9p: fix setattr/getattr issues with open files Greg Kurz <groug@kaod.org> - 2016-07-04 18:30 +0200
    Re: [PATCH 0/3] fs/9p: fix setattr/getattr issues with open files Dominique Martinet <dominique.martinet@cea.fr> - 2016-07-07 15:10 +0200
      Re: [PATCH 0/3] fs/9p: fix setattr/getattr issues with open files Greg Kurz <groug@kaod.org> - 2016-07-07 16:30 +0200
        Re: [PATCH 0/3] fs/9p: fix setattr/getattr issues with open files Greg Kurz <groug@kaod.org> - 2016-07-08 19:10 +0200

csiph-web