]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: update the dlease for the hashed dentry when removing
authorXiubo Li <xiubli@redhat.com>
Wed, 30 Mar 2022 04:21:12 +0000 (12:21 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 18 May 2022 12:07:05 +0000 (14:07 +0200)
commit61aea6d3f04db51fef41d205b55e8f2dd59b50fa
treea3f7685234bce15f1691fcb287a51cf4acc6b825
parent7a219f16cc2283d837759126788814f39d2ccd25
ceph: update the dlease for the hashed dentry when removing

The MDS will always refresh the dentry lease when removing the files
or directories. And if the dentry is still hashed, we can update
the dentry lease and no need to do the lookup from the MDS later.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
fs/ceph/inode.c