]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: support for exporting multiple subdirectories in faked mode 24283/head
authorhuanwen ren <ren.huanwen@zte.com.cn>
Wed, 26 Sep 2018 11:52:14 +0000 (19:52 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Wed, 10 Oct 2018 09:51:40 +0000 (17:51 +0800)
commite09659b563f7993607936944751001cc26b96785
tree5b4ce19a2007369d30a7bb7f0e1e60cada92386a
parent9a01c3ae10889b11ebea25287591d49a01920a30
client: support for exporting multiple subdirectories in faked mode

In the faked mode, if you export multiple subdirectories(such as nfs-ganesha
you can export "/test1" and "/test2",etc), you will see that the inodes of the
exported subdirectories are the same.
This feature is modified to provide the export subdirectory by reserving
1024(1024~2048)fake ids.

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/client/Client.cc
src/client/Client.h