]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: record null dentry's lease
authorYan, Zheng <zyan@redhat.com>
Thu, 21 Jul 2016 07:52:06 +0000 (15:52 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 22 Jul 2016 02:24:41 +0000 (10:24 +0800)
commit034e6bd16c50ed33cfb6fa6150428ca181a81077
tree67a166fcebb6a057a04c4ff0a46c7d0d8f71ce01
parent01b10c3aaad8e076a32d269cfedf10a2ead348ab
client: record null dentry's lease

Current code drops null dentry's lease silently. If the client later
modifies the null dentry, lease release is not encoded in corresponding
mds request. This cause mds to send an extra lease revoke.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/client/Client.cc