mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
osdc/Objecter: set FULL_FORCE flag when honor_full is false
This currenty only applies to the MDS. Eventually we can remove the OSD MDS checks once we are confident all MDS instances are new enough to set this flag. Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
95055e70ff
commit
bf7e937a8b
@ -2844,6 +2844,9 @@ MOSDOp *Objecter::_prepare_osd_op(Op *op)
|
||||
if (op->onack)
|
||||
flags |= CEPH_OSD_FLAG_ACK;
|
||||
|
||||
if (!honor_osdmap_full)
|
||||
flags |= CEPH_OSD_FLAG_FULL_FORCE;
|
||||
|
||||
op->target.paused = false;
|
||||
op->stamp = ceph_clock_now(cct);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user