This patch adds check to catch blacklisted error from filer. On catching this
error, mds will respawn.
Fixes: https://tracker.ceph.com/issues/43598
Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit
c144d66afa74e8e45a2fc96bb650219d001538bf)
gather.set_finisher(new C_OnFinisher(
new FunctionContext([this, expire_to](int r){
std::lock_guard l(lock);
- _execute_item_complete(expire_to);
+ if (r == -EBLACKLISTED) {
+ finisher.queue(on_error, r);
+ on_error = nullptr;
+ return;
+ }
+
+ _execute_item_complete(expire_to);
_consume();
// Have we gone idle? If so, do an extra write_head now instead of