]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: add scrub_finalize_wq
authorSamuel Just <samuel.just@dreamhost.com>
Thu, 10 Feb 2011 20:27:11 +0000 (12:27 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Mon, 28 Feb 2011 23:43:42 +0000 (15:43 -0800)
commit2adb670c1a811cdd45d04c85efe5e00f896a2beb
tree4ff2aa1c50248ee4aabdf2e27057a2f8af92e65a
parent03135a3e6ab8f6a4fd20a3ab5956ff5695f36d6e
OSD: add scrub_finalize_wq

Scrub currently blocks while waiting on replica maps and for
last_update_applied==last_update.  Also, the subsequent checking of the
primary and replica maps is done while occupying a disk_tp slot.  The
scrubmap checking will be moved into scrub_finalize and performed in
this wq in the op_tp.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/OSD.cc
src/osd/OSD.h
src/osd/PG.h