• Sage Weil's avatar
    ceph: do not carry i_lock for readdir from dcache · efa4c120
    Sage Weil authored
    We were taking dcache_lock inside of i_lock, which introduces a dependency
    not found elsewhere in the kernel, complicationg the vfs locking
    scalability work.  Since we don't actually need it here anyway, remove
    it.
    
    We only need i_lock to test for the I_COMPLETE flag, so be careful to do
    so without dcache_lock held.
    Signed-off-by: default avatarSage Weil <sage@newdream.net>
    efa4c120
dir.c 33.9 KB