]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: fix deep copy a child-image 20099/head
authorsongweibin <song.weibin@zte.com.cn>
Fri, 26 Jan 2018 03:22:27 +0000 (11:22 +0800)
committersongweibin <song.weibin@zte.com.cn>
Thu, 1 Feb 2018 00:17:19 +0000 (08:17 +0800)
commitc3e119d0d39492cd92272c2f71c6ac5c0ec6d18d
tree36b0cb224cb2de995676f740bfad14cd19f89a20
parenteb55a14e08234de6b493ee8d31daeb3e0e29b01b
librbd: fix deep copy a child-image

* tweak create a cloned image when the source image is
  a clone (or at least one of its snapshots is a clone).

Signed-off-by: songweibin <song.weibin@zte.com.cn>
qa/workunits/rbd/cli_generic.sh
src/librbd/api/Image.cc
src/test/librbd/test_librbd.cc
src/test/pybind/test_rbd.py