]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: do scrub schedule state changes inside scrub()
authorSage Weil <sage@newdream.net>
Wed, 10 Nov 2010 22:58:34 +0000 (14:58 -0800)
committerSage Weil <sage@newdream.net>
Thu, 11 Nov 2010 00:31:42 +0000 (16:31 -0800)
commit6548fb65ccf37f8657cb1f618c0e2b55e7fd2d79
tree695c208a534bb4ff32b44a718ab2dd6d00c1e252
parenta87e890125a7f226e3eddabb215fea103de4b088
osd: do scrub schedule state changes inside scrub()

Update these values under protection of pg lock iff we start scrubbing,
otherwise back out.

On scrub completion, unreserve replicas.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/OSD.h
src/osd/PG.cc