]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: try to choose a new batch head in request_clientup() 58842/head
authorXiubo Li <xiubli@redhat.com>
Mon, 20 May 2024 01:21:12 +0000 (09:21 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 30 Jul 2024 02:02:24 +0000 (10:02 +0800)
commit14705d7dbd95f2845cb5bd73762425ab237dc5e8
tree76be0caefb655a90cb9e9a02ba1277f28c2a6548
parent3bb8b78897eaabac4ca90f9945e9ec750e2165ce
mds: try to choose a new batch head in request_clientup()

This will happen only for the client requests, not peer requests.
The 'mdr->killed' and 'mdr->dead' will always be set at the same
time when killing the client requests.

Fixes: https://tracker.ceph.com/issues/66124
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 73b266e53632de270af31588da497f7162301fc0)

 Conflicts:
src/mds/MDCache.cc
src/mds/Server.cc
Missing commit 99e58f58547("mds: use const qualifier for
MDRequestRef").
src/mds/MDCache.cc
src/mds/Server.cc