]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add config to require forward to auth MDS 29995/head
authorsimon gao <simon29rock@gmail.com>
Tue, 10 Sep 2019 09:57:25 +0000 (05:57 -0400)
committersimon gao <simon29rock@gmail.com>
Fri, 20 Dec 2019 09:45:43 +0000 (04:45 -0500)
commit7d42df0cd0002505fc20456ac45725dfdec7ba96
tree074e292f9caf74e5de1437518dd5027864b52896
parentcd780f109c762d99116fc17b77969a19808029af
mds: add config to require forward to auth MDS

If mds_forward_all_requests_to_auth is set to true. MDS will been forbidden to load noauth inode, and the auth MDS will not send other info of rep. MDS through func named set_trace_dist. so the client will only send req to auth mds of inode.

Signed-off-by: simon gao <simon29rock@gmail.com>
src/common/options.cc
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDSRank.cc
src/mds/Server.cc