]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: copyup should use empty snapshot context
authorJason Dillaman <dillaman@redhat.com>
Thu, 16 Apr 2015 20:27:56 +0000 (16:27 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 7 May 2015 02:07:44 +0000 (22:07 -0400)
commit9fd708b1a0f776363da08fd99bf67f1625277d79
treef8cc3969e93bee1bb5f4d91c7881eaf1317999f6
parent7be3df67809925164237cc185f9f29e145f45768
librbd: copyup should use empty snapshot context

This allows child object to exist through all existing
snapshots as well as HEAD.  If the operation was a CoW,
issue the write ops as a separate RADOS op with the
correct snapshot context.

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