Skip to content

Commit

Permalink
osdc/Objecter: If osd full, it should pause read op which w/ rwordere…
Browse files Browse the repository at this point in the history
…d flag.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
  • Loading branch information
majianpeng committed May 12, 2016
1 parent e2a0ae8 commit 07b2a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osdc/Objecter.cc
Expand Up @@ -2290,7 +2290,7 @@ void Objecter::_op_submit(Op *op, shunique_lock& sul, ceph_tid_t *ptid)
<< dendl;
op->target.paused = true;
_maybe_request_map();
} else if ((op->target.flags & CEPH_OSD_FLAG_WRITE) &&
} else if ((op->target.flags & (CEPH_OSD_FLAG_WRITE | CEPH_OSD_FLAG_RWORDERED)) &&
!(op->target.flags & (CEPH_OSD_FLAG_FULL_TRY |
CEPH_OSD_FLAG_FULL_FORCE)) &&
(_osdmap_full_flag() ||
Expand Down

0 comments on commit 07b2a22

Please sign in to comment.