]> 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)
committerJeff Layton <jlayton@kernel.org>
Fri, 29 Apr 2022 20:06:35 +0000 (16:06 -0400)
commit17c67c5717d234b99ba0305db92de88dba725303
tree689d7b1c8b42a3d062f1f6253f1c79e9e9a6bbc3
parentc8efb96fee2acb56ad14330945f3e2c2486bd969
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