Everybody supports scrub.
Signed-off-by: Sage Weil <sage@redhat.com>
uint64_t old_size,
ObjectStore::Transaction *t) override;
- bool scrub_supported() override { return true; }
bool auto_repair_supported() const override { return true; }
void be_deep_scrub(
PG *pg = _lookup_lock_pg(scrub.pgid);
if (!pg)
continue;
- if (pg->get_pgbackend()->scrub_supported() && pg->is_active()) {
+ if (pg->is_active()) {
dout(10) << "sched_scrub scrubbing " << scrub.pgid << " at " << scrub.sched_time
<< (pg->scrubber.must_scrub ? ", explicitly requested" :
(load_is_low ? ", load_is_low" : " deadline < now"))
pair<bufferlist*, Context*> > > &to_read,
Context *on_complete, bool fast_read = false) = 0;
- virtual bool scrub_supported() = 0;
virtual bool auto_repair_supported() const = 0;
void be_scan_list(
ScrubMap &map, const vector<hobject_t> &ls, bool deep, uint32_t seed,
void repop_applied(RepModifyRef rm);
void repop_commit(RepModifyRef rm);
- bool scrub_supported() override { return true; }
bool auto_repair_supported() const override { return false; }