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.
(cherry picked from commit
7d42df0)
Signed-off-by: simon gao <simon29rock@gmail.com>
Conflicts:
src/mds/MDCache.h
- There were conflicts involving definitions in master between the added
lines. The master only code was removed and the PR's changes were kept.
bool forward_all_requests_to_auth was moved to the appropriate position,
the surrounding code block in the "theirs" section was already repeated
in the file at another place.