]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: migrate legacy snapshot on-disk format to normalized parent
authorJason Dillaman <dillaman@redhat.com>
Tue, 4 Sep 2018 00:00:59 +0000 (20:00 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Sep 2018 12:04:12 +0000 (08:04 -0400)
commit95b02b9460a8d94073c8c2762cf33b70b02348bf
treeed5abc868ec6c1eb13201d03f511c2d642359f50
parent9163112989dd3846306f1313c5d68d8d8e00c832
librbd: migrate legacy snapshot on-disk format to normalized parent

The parent reference should be written once under the "parent" key,
so all updates to a snapshot should ensure the new normalized format
is used if Nautilus or later OSDs are required.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/cls/rbd/cls_rbd.cc
src/cls/rbd/cls_rbd.h