]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: drop unnecessary can_discard_request() in PG::queue_op()
authorSage Weil <sage@inktank.com>
Thu, 13 Sep 2012 14:28:12 +0000 (07:28 -0700)
committerSage Weil <sage@inktank.com>
Thu, 13 Sep 2012 15:02:17 +0000 (08:02 -0700)
commit221fc788e79f55dc2944d4bdd1584e3be23df148
tree4ee206a4b148c68889c8bd0afb2f7c1df4e9b488
parent2223ac78e56a756a5df607b7c9ad7ba64b60919b
osd: drop unnecessary can_discard_request() in PG::queue_op()

We perform the same check in PG::do_request(), and it is no longer safe to
do this at enqueue_op() time because we aren't holding PG::_lock (only
PG::_qlock).

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/PG.cc