]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: make the send_to_auth display of mds_requests more accurate 36597/head
authorYanhu Cao <gmayyyha@gmail.com>
Thu, 13 Aug 2020 02:16:59 +0000 (10:16 +0800)
committerYanhu Cao <gmayyyha@gmail.com>
Tue, 22 Sep 2020 07:14:28 +0000 (15:14 +0800)
Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
src/client/Client.cc

index ae03654080626e5bfc4e36c52b7320738a3c91aa..b4766a5e4a8446439144fefe454d8cb5ec55f5dc 100755 (executable)
@@ -1523,6 +1523,7 @@ mds_rank_t Client::choose_target_mds(MetaRequest *req, Inode** phash_diri)
        if (phash_diri)
          *phash_diri = in;
       } else if (in->auth_cap) {
+       req->send_to_auth = true;
        mds = in->auth_cap->session->mds_num;
       }
       if (mds >= 0) {