Skip to content

Commit 604112e

Browse files
committed
mds: do not dispatch aborted internal requests
Matching the behavior of Server::dispatch_client_request. This logic can be unified in a future refactor but keeping this as a targetted fix for the purposes of the bug. Fixes: https://tracker.ceph.com/issues/65182 Signed-off-by: Patrick Donnelly <[email protected]>
1 parent 3f14229 commit 604112e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/mds/MDCache.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9818,6 +9818,11 @@ void MDCache::dispatch_request(const MDRequestRef& mdr)
98189818
} else if (mdr->peer_request) {
98199819
mds->server->dispatch_peer_request(mdr);
98209820
} else {
9821+
if (mdr->aborted) {
9822+
mdr->aborted = false;
9823+
request_kill(mdr);
9824+
return;
9825+
}
98219826
switch (mdr->internal_op) {
98229827
case CEPH_MDS_OP_QUIESCE_PATH:
98239828
dispatch_quiesce_path(mdr);

0 commit comments

Comments
 (0)