diff options
Diffstat (limited to 'src/osd/ReplicatedPG.h')
-rw-r--r-- | src/osd/ReplicatedPG.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/osd/ReplicatedPG.h b/src/osd/ReplicatedPG.h index 6387cf889cb..51eaebe0e5f 100644 --- a/src/osd/ReplicatedPG.h +++ b/src/osd/ReplicatedPG.h @@ -788,6 +788,17 @@ protected: // -- scrub -- virtual int _scrub(ScrubMap& map, int& errors, int& fixed); + virtual bool _report_snap_collection_errors( + const hobject_t &hoid, + int osd, + const map<string, bufferptr> &attrs, + const set<snapid_t> &snapcolls, + uint32_t nlinks, + ostream &out); + virtual void check_snap_collections( + ino_t hino, const hobject_t &hoid, + const map<string, bufferptr> &attrs, + set<snapid_t> *snapcolls); void apply_and_flush_repops(bool requeue); |