]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: don't mark snap directory complete when its dirstat is empty
authorYan, Zheng <zyan@redhat.com>
Tue, 2 Jan 2018 07:55:50 +0000 (15:55 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 9 Feb 2018 10:42:29 +0000 (18:42 +0800)
commit81adc4ebe6a75f0560d6911fed3679a14b659dd9
tree022a430c4f772940b87b1a8451451f0f8993cbfa
parent8da3283dda5e566b77e463207039ca4bda211558
client: don't mark snap directory complete when its dirstat is empty

MDS has trouble in tracking dirstat for snap inode. Snap directory
inode's dirstat can be inaccuracy.

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