]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: remove useless osd_scrub_min_interval check
authorSage Weil <sage@inktank.com>
Mon, 14 Jan 2013 04:27:59 +0000 (20:27 -0800)
committerSage Weil <sage@inktank.com>
Tue, 15 Jan 2013 02:24:40 +0000 (18:24 -0800)
commit16d67c798b6f752a6e03084bafe861396b86baae
tree089ad325d8337e212781e7aac23890e6a8eb831b
parenta148120776d0930b265411332a60e93abfbf0423
osd/PG: remove useless osd_scrub_min_interval check

This was already a no-op: we don't call PG::scrub_sched() unless it has
been osd_scrub_max_interval seconds since we last scrubbed.  Unless we
explicitly requested in, in which case we don't want this check anyway.

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