]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: default clone operation to image format 2 8972/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 May 2016 19:06:51 +0000 (15:06 -0400)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Fri, 6 May 2016 14:34:06 +0000 (20:04 +0530)
commit82838e340e0ab7c593618f5807ea5868ecd6bc48
treeb46fb07f80f5ef83fa412479be0683c47c3611f3
parentca13a9554d8a9d97428c2096b5a2ae8e25d08a9e
librbd: default clone operation to image format 2

Image format 1 doesn't support clones, so unless the user
overrode the setting, default to format 2.

Fixes: http://tracker.ceph.com/issues/15685
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit f24c70f54343aa6698af8ac1f0774282b0659968)
src/librbd/internal.cc