]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd, test: Add test case with osd support for overdue PG scrubs and deep scrubs 26493/head
authorDavid Zafman <dzafman@redhat.com>
Tue, 27 Nov 2018 00:48:52 +0000 (16:48 -0800)
committerDavid Zafman <dzafman@redhat.com>
Mon, 18 Feb 2019 21:44:38 +0000 (13:44 -0800)
commitfcd582f62f7939e1e6488d215f5c074b3dc95ced
treef591cb7daf2761601d28cc7af5c8095d9bbfb602
parent5f3dc9b76e971f23625da78a6f05333c621b210e
osd, test: Add test case with osd support for overdue PG scrubs and deep scrubs

Add trigger_deep_scrub osd command for testing
Publish stats when trigger_scrub/trigger_deep_scrub is used for testing
Add optional argument to trigger_scrub/trigger_deep_scrub
for amount of extra time to change last scrub stamps

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit ef2dc05de00fbc5db8d864f83ee8d318286b6d6e)

Conflicts:
        src/osd/OSD.cc : Resolved in test_ops

Modify osd-scrub-repair.sh from master branch version to use mimic
mon_warn_not_scrubbed and mon_warn_not_deep_scrubbed config values.
qa/standalone/scrub/osd-scrub-repair.sh
src/osd/OSD.cc
src/osd/PG.h