]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: use separate files for snapshot object maps
authorJason Dillaman <dillaman@redhat.com>
Sat, 7 Feb 2015 14:13:10 +0000 (09:13 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Mon, 16 Feb 2015 22:27:25 +0000 (14:27 -0800)
commit0de6b6179abe5ec57e5336bba4638585f26dd22e
treefb8362da5c3a70e66c718595bc4d015bd27d7d39
parente97a8f1bd76a4a138824a52b53648390c3b2718e
librbd: use separate files for snapshot object maps

Instead of relying on the built-in object snapshot support,
create a separate object map object for each image snapshot.
This will allow a future repair utility to rebuild the object
map for an image's snapshots.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageCtx.cc
src/librbd/ImageWatcher.cc
src/librbd/ObjectMap.cc
src/librbd/ObjectMap.h
src/librbd/internal.cc
src/librbd/internal.h