We don't want the finisher called during shutdown.
Fixes: https://tracker.ceph.com/issues/44295
Fixes: 73436961512bd87981244fa48212085faf7028c4
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
79f5052a1ddb61043de4e1cbec19ede2a6b4f53b)
if (mds->is_daemon_stopping()) {
dout(4) << "MDSIOContextBase::complete: dropping for stopping "
<< typeid(*this).name() << dendl;
- MDSContext::complete(r);
- return;
- }
-
- if (r == -EBLACKLISTED) {
+ delete this;
+ } else if (r == -EBLACKLISTED) {
derr << "MDSIOContextBase: blacklisted! Restarting..." << dendl;
mds->respawn();
} else {