]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: don't reset readdir offset if client supports hash order dentry
authorYan, Zheng <zyan@redhat.com>
Mon, 25 Apr 2016 07:52:32 +0000 (15:52 +0800)
committerGreg Farnum <gfarnum@redhat.com>
Sun, 12 Jun 2016 21:10:22 +0000 (14:10 -0700)
commit51a75063f59fcb47d3a4d5f06aa51cab83b76616
tree0548d9c314b8d7ee2022ea628fc0b319f4439e41
parent3fe5a09f3e7aa9fc89cd47a261785110c2bf38a2
mds: don't reset readdir offset if client supports hash order dentry

Now the ordering of dentries is stable across directory fragmentation.
There is no need to reset readdir offset if directory get fragmented
in the middle of readdir.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 98a01af2cd8e01f14ab7be32c31a43571ef8bb87)

Signed-off-by: Greg Farnum <gfarnum@redhat.com
src/client/Client.cc
src/mds/Server.cc