lkml.org 
[lkml]   [2022]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 01/10] VFS: support parallel updates in the one directory.
    On Mon, Aug 29, 2022 at 11:59:02AM +1000, NeilBrown wrote:

    > > When would we get out of __lookup_hash() with in-lookup dentry?
    > > Confused...
    >
    > Whenever wq is passed in and ->lookup() decides, based on the flags, to do
    > nothing.
    > NFS does this for LOOKUP_CREATE|LOOKUP_EXCL and for LOOKUP_RENAME_TARGET

    Frankly, I would rather do what all other callers of ->lookup() do and
    just follow it with d_lookup_done(dentry), no matter what it returns.
    It's cheap enough...

    \
     
     \ /
      Last update: 2022-09-03 02:09    [W:3.113 / U:0.452 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site