]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: move queue checks into enqueue_op, kill _handle_ helpers
authorSage Weil <sage.weil@dreamhost.com>
Tue, 25 Oct 2011 05:13:59 +0000 (22:13 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Tue, 25 Oct 2011 05:13:59 +0000 (22:13 -0700)
commitfa722de6708d3e92037df6289cc29ece12c8ea66
tree4057a6ea78b7268bf49d8e66e17cca3168368a03
parent3a2dc656654bf39c974bc7426a26713e3d068fb9
osd: move queue checks into enqueue_op, kill _handle_ helpers

This simplifies things, and renames the checks to make it clear that we are
doing validation checks only, with no side-effects allowed.

Also move some checks into the parent handle_op() to further simplify the
(re)queue checks.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/OSD.cc
src/osd/OSD.h