lkml.org 
[lkml]   [2022]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH/RFC] VFS: support parallel updates in the one directory.
Date
On Fri, 25 Feb 2022, Darrick J. Wong wrote:
> On Thu, Feb 24, 2022 at 09:31:28AM -0700, Andreas Dilger wrote:
> > On Feb 23, 2022, at 22:57, NeilBrown <neilb@suse.de> wrote:
> > >
> > > for i in {1..70}; do ( for j in {1000..8000}; do touch $j; rm -f $j ; done ) & done
>
> I think you want something faster here, like ln to hardlink an existing
> file into the directory.
>

And probably written in C too..


> (I am also not a fan of "PAR_UPDATE", since 'par' is already an English
> word that doesn't mean 'parallel'.)

:-)
We already have DCACHE_PAR_LOOKUP for parallel lookups in a directory
(though it is really a lock bit and I think should be named as soch).
So it made sense to use DCACHE_PAR_UPDATE for parallel updates.
And then S_PAR_UPDATE for the inode flag to enable this seemed logical.

But I agree that these names are sub-par :-)

NeilBrown

\
 
 \ /
  Last update: 2022-02-28 01:57    [W:0.842 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site