]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: use helpers to queue a PG in the scrub LRU
authorSage Weil <sage@inktank.com>
Fri, 11 Jan 2013 17:03:07 +0000 (09:03 -0800)
committerSage Weil <sage@inktank.com>
Wed, 16 Jan 2013 03:26:22 +0000 (19:26 -0800)
commit27ad74b9efe17ec90864aa32d07ae047bad9f366
tree7036d1fdea334427c164ac178cfcdddaae4fb026
parentf8a649c0f40f2f7c0a3b957403b5931f5bd4f688
osd: use helpers to queue a PG in the scrub LRU

Move the duplicated reach into info.history.last_scrub_stamp into a helper
so we can control when we queue the PG for scrub.

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