mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
osd: Fail-safe full is a hard stop even for mds
We can't allow OSD to become non-startable even if mds could be writing as part of file removals. Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
parent
e927cd2cf2
commit
5baf7abfa3
@ -1888,7 +1888,10 @@ void PrimaryLogPG::do_op(OpRequestRef& op)
|
||||
<< *m << dendl;
|
||||
return;
|
||||
}
|
||||
if (!(m->get_source().is_mds()) && osd->check_failsafe_full() && write_ordered) {
|
||||
// mds should have stopped writing before this point.
|
||||
// We can't allow OSD to become non-startable even if mds
|
||||
// could be writing as part of file removals.
|
||||
if (write_ordered && osd->check_failsafe_full()) {
|
||||
dout(10) << __func__ << " fail-safe full check failed, dropping request"
|
||||
<< dendl;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user