]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: improve SnapMapper's API used by the scrubber
authorRonen Friedman <rfriedma@redhat.com>
Sun, 24 Jul 2022 13:25:55 +0000 (13:25 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Fri, 2 Sep 2022 07:40:54 +0000 (10:40 +0300)
commitd9a1b54e1990558c7e2ec55ba1df8571aa6b4dbe
treea9a01fca946860aed15b6887b0e7e4c06df51d70
parent926cef781bdd6905826d375a630916c791f05901
osd/scrub: improve SnapMapper's API used by the scrubber

By:
- defining the interface;
- avoiding 'out' parameters where possible
- (forced to) improved const correctness

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/SnapMapReaderI.h [new file with mode: 0644]
src/osd/SnapMapper.cc
src/osd/SnapMapper.h
src/osd/scrubber/scrub_backend.h
src/test/osd/test_scrubber_be.cc