]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: resend RWORDERED ops on full
authorSage Weil <sage@redhat.com>
Fri, 3 Mar 2017 03:20:08 +0000 (21:20 -0600)
committerSage Weil <sage@redhat.com>
Tue, 7 Mar 2017 18:33:44 +0000 (13:33 -0500)
commitc4b73f19a7be13ff412eef804efcd8c18ed4dae6
tree4e645c7aa5512f312aacadafafedf68885fef28d
parenta202b68d18ccf32d9ae2580fecdbbb6ebaed5d30
osdc/Objecter: resend RWORDERED ops on full

Our condition for respecting the FULL flag is complex, and involves
the WRITE | RWORDERED flags vs the FULL_FORCE | FULL_TRY flags.  Previously,
we could block a read bc of RWORDRED but not resend it later.

Fix by capturing the complex condition in a respects_full() bool and using
it both for the blocking-on-send and resending-on-possibly-notfull-later
checks.

Fixes: http://tracker.ceph.com/issues/19133
Signed-off-by: Sage Weil <sage@redhat.com>
src/osdc/Objecter.cc
src/osdc/Objecter.h