ceph/src/librbd
Victor Denisov de85e007e7 librbd: Add snapshot namespace to snapshot-name index in ImageCtx
The essence of this huge change is to have two keys for indexing
snap ids in ImageCtx. It used to be a map of (snap_name -> snap_id)
now it's (snap_namespace, snap_name) -> snap_id. Therefore now snapshots
can have the same name if they are in different namespaces.
All the remaining changes are a consequece of this change of
ImageCtx.snap_ids field. The only exception is: we assume that you can't
rename snapshots from GroupSnapshotNamespaces. So rename operation
always assumes UserSnapshotNamespace.

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2017-03-16 00:48:09 -07:00
..
api librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
cache librbd: adopt override for writesame related header files 2017-02-24 00:18:35 +08:00
exclusive_lock librbd: rados callback cleanup 2017-03-07 08:35:27 +08:00
image librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
image_watcher rbd: ImageWatcher refactoring using Watcher super class 2017-01-03 09:20:08 -05:00
io librbd: add aio_mirror_image_* API methods 2017-03-08 12:02:27 -05:00
journal librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
managed_lock rbd-mirror: correct race conditions within leader watcher 2017-03-09 21:17:07 -05:00
mirror librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
mirroring_watcher rbd: Removed ObjectWatcher class and substituted with Watcher class 2017-01-03 09:20:08 -05:00
object_map librbd: rados callback cleanup 2017-03-07 08:35:27 +08:00
operation librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
watcher librbd: avoid duplicating librados IoCtx objects if not needed 2017-03-09 20:25:18 -05:00
AsyncObjectThrottle.cc
AsyncObjectThrottle.h librbd: add override in header files 2017-02-21 16:54:35 +08:00
AsyncOperation.cc rbd: add override in rbd subsystem 2017-02-17 19:13:20 +08:00
AsyncOperation.h
AsyncRequest.cc librbd: rados callback cleanup 2017-03-07 08:35:27 +08:00
AsyncRequest.h librbd: wait for journal commit op event to be safely recorded 2016-07-21 12:52:57 -04:00
BlockGuard.h librbd: new block guard helper to prevent concurrent IO to blocks 2016-12-13 16:57:59 -05:00
CMakeLists.txt librbd: additional asynchronous mirror state machines 2017-03-08 12:02:26 -05:00
ExclusiveLock.cc librbd: move IO-related classes to new io namespace 2017-02-20 08:19:18 -05:00
ExclusiveLock.h librbd: add override in header files 2017-02-21 16:54:35 +08:00
ImageCtx.cc librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
ImageCtx.h librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
ImageState.cc librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
ImageState.h librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
ImageWatcher.cc librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
ImageWatcher.h librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
internal.cc librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
internal.h librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
Journal.cc librbd: additional asynchronous mirror state machines 2017-03-08 12:02:26 -05:00
Journal.h librbd: additional asynchronous mirror state machines 2017-03-08 12:02:26 -05:00
librbd.cc librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
LibrbdAdminSocketHook.cc rbd: add override in rbd subsystem 2017-02-17 19:13:20 +08:00
LibrbdAdminSocketHook.h librbd: add override in header files 2017-02-21 16:54:35 +08:00
LibrbdWriteback.cc librbd: rados callback cleanup 2017-03-07 08:35:27 +08:00
LibrbdWriteback.h librbd: add override in header files 2017-02-21 16:54:35 +08:00
ManagedLock.cc librbd: improve debug log messages for managed lock 2017-03-09 20:25:18 -05:00
ManagedLock.h librbd: add ManagedLock destroy method (useful for mock tests) 2017-02-23 12:57:19 +01:00
MirroringWatcher.cc librbd: rados callback cleanup 2017-03-07 08:35:27 +08:00
MirroringWatcher.h librbd: add override in header files 2017-02-21 16:54:35 +08:00
ObjectMap.cc librbd: rados callback cleanup 2017-03-07 08:35:27 +08:00
ObjectMap.h librbd: cleanup: remove the unused function ObjectMap::remove() 2017-02-23 11:11:00 +08:00
Operations.cc librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
Operations.h librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
TaskFinisher.h librbd: add override in header files 2017-02-21 16:54:35 +08:00
Types.h librbd: rename parent_spec/parent_info type to match code style specs 2017-03-08 11:40:02 -05:00
Utils.cc librbd: rados callback cleanup 2017-03-07 08:35:27 +08:00
Utils.h librbd: rados callback cleanup 2017-03-07 08:35:27 +08:00
Watcher.cc librbd: rados callback cleanup 2017-03-07 08:35:27 +08:00
Watcher.h librbd: add override in header files 2017-02-21 16:54:35 +08:00
WatchNotifyTypes.cc librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00
WatchNotifyTypes.h librbd: Add snapshot namespace to snapshot-name index in ImageCtx 2017-03-16 00:48:09 -07:00