Re: [PATCH v2 0/4] VFS: prepare for changes to directory locking

NeilBrown <[email protected]>
Newsgroups org.kernel.vger.linux-fsdevel
Message-ID <[email protected]>
On Thu, 23 Jul 2026, NeilBrown wrote:
> Thanks a lot to Christian for the review.  I have address all this
> issues found.

Hi,
 has anyone had a chance to review?  Is there any change this could land
 in the next -rc1 ??

Thanks,
NeilBrown


> 
> Original intro, slightly modified:
> 
> These patches are part of some prep work to allow changes to directory
> locking.
> The short term goal is to invert the locking order between d_alloc_parallel() 
> and inode_lock() so that d_alloc_parallel() can (only) be called without
> holding inode_lock().  This particularly requires filesystems not to use 
> d_drop() in the middle of an operation, which particularly requires the d_splice_alias()
> change.
> 
> As it will require d_alloc_parallel() to NOT be called under the inode
> lock, d_alloc_trylock() is added which CAN be used when failure is safe
> (dcache priming in readdir).
> 
> Once these land upstream I can submit patches to various filesystems to
> make use of them.  Then when filesystems are ready I can continue the
> VFS changes.
> 
> Thanks,
> NeilBrown
> 
> 
>  [PATCH v2 1/4] VFS: fix various typos in documentation for
>  [PATCH v2 2/4] VFS: enhance d_splice_alias() to handle hashed
>  [PATCH v2 3/4] VFS: introduce d_alloc_trylock()
>  [PATCH v2 4/4] VFS: add d_duplicate()
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.