diff options
Diffstat (limited to 'src/osd/SnapMapper.h')
-rw-r--r-- | src/osd/SnapMapper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/osd/SnapMapper.h b/src/osd/SnapMapper.h index a90faa8e84f..f9a371932f6 100644 --- a/src/osd/SnapMapper.h +++ b/src/osd/SnapMapper.h @@ -356,6 +356,11 @@ private: return prefix_itr; } + /// reset the MapCacher backend, this should be called on pg interval change + void reset_backend() { + backend.reset(); + } + /// Update snaps for oid, empty new_snaps removes the mapping int update_snaps( const hobject_t &oid, ///< [in] oid to update |