]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: track maximum object count during mirror sync
authorJason Dillaman <dillaman@redhat.com>
Fri, 11 Mar 2016 16:52:48 +0000 (11:52 -0500)
committerJason Dillaman <dillaman@redhat.com>
Sun, 13 Mar 2016 03:40:16 +0000 (22:40 -0500)
commitc7f5f9da34c962ec22a7df15747b57479b6b6f66
treeb30c453ca5e92cfa1aeccc05177ab39cc15792e5
parentcee931f87afbfe33d0d7878975a649108f620e9d
librbd: track maximum object count during mirror sync

If the sync is interrupted, it is possible the image the source
image is shrunk.  Therefore, the sync process needs to track
the maximum known object extent of the image so objects can
be properly freed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/journal/Types.cc
src/librbd/journal/Types.h