Signed-off-by: Kefu Chai <kchai@redhat.com>
const ceph::BitVector<2> &object_map);
// class operations on the old format, kept for
-// backwards compatability
+// backwards compatibility
void old_snapshot_add(librados::ObjectWriteOperation *rados_op,
snapid_t snap_id, const std::string &snap_name);
void old_snapshot_remove(librados::ObjectWriteOperation *rados_op,
* /-------<-------\ | | |
* | | | (acquired)|
* | | v | |
- * | | AQUIRE EXCLUSIVE LOCK | |
+ * | | ACQUIRE EXCLUSIVE LOCK | |
* | | / | | |
* | |------<-------/ | | |
* | | v | |
/**
Maps an image name from the name in the original trace to the name that should be used when replaying.
@param image_name name of the image in the original trace
- @param snap_name name of the snap in the orginal trace
+ @param snap_name name of the snap in the original trace
@return image name to replay against
*/
virtual rbd_loc map_image_name(std::string image_name, std::string snap_name) const = 0;