Add check to journaler to test for EBLACKLISTED error code and return it
back to MDS.
Fixes: https://tracker.ceph.com/issues/44132
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit
998bb611177da7c70c358335dc5d6609e7c5309d)
return;
}
+ // Let the caller know that the operation has failed or was intentionally
+ // failed since the caller has been blacklisted.
+ if (r == -EBLACKLISTED) {
+ onfinish->complete(r);
+ return;
+ }
+
ceph_assert(!r); //if we get an error, we're boned
_reprobe(onfinish);
}