]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
Client: Add function "get_default_data_pool_name" for java client
authordongdong <tdd21151186@gmail.com>
Sat, 29 Jul 2017 10:31:54 +0000 (18:31 +0800)
committerdongdong <tdd21151186@gmail.com>
Sat, 29 Jul 2017 10:31:54 +0000 (18:31 +0800)
commit9e278fdbf927b2b8644a252465851034cc3927f7
tree30ff140a7fa071bf8974f20631af09c922f4f748
parent17a86ef54ae02342ca6bc3da70a7efd399fb53a1
Client: Add function "get_default_data_pool_name" for java client

Fix: now java client trying to get the default pool througth the root
dir "/", but the thing is when java client is mounted to a sub dir
and the sub dir's pool_id is always -1, this will cause unexpected failure.

Signed-off-by: dongdong tao <tdd21151186@gmail.com>
src/client/Client.cc
src/client/Client.h
src/include/cephfs/libcephfs.h
src/java/java/com/ceph/fs/CephMount.java
src/java/native/libcephfs_jni.cc
src/libcephfs.cc