]>
git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: separate shallow vs deep errors storage
The ScrubStore now holds two ScrubStore::at_level_t objects,
one for the shallow errors and one for the deep errors.
The shallow errors DB is recreated at the start of every scrub,
while the deep errors DB is only recreated at the start of a
deep scrub.
When queried by the operator for known scrub errors, the
ScrubStore will return the union of the errors from both
DBs.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>