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:
Sage Weil 2015-09-24 19:02:21 -04:00
parent 95055e70ff
commit bf7e937a8b

View File

@ -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);