]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls_rbd: default initialize snapshot namespace for legacy clients 14903/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 2 May 2017 01:06:19 +0000 (21:06 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 2 May 2017 01:08:00 +0000 (21:08 -0400)
commit03b0b03071f3e04754896664c69f73759ddb907a
tree96a1dc2fd540559b0b23be4077c9daf2a2ddd760
parente4874b4091b004a6946fc8082eca7274cb1385f8
cls_rbd: default initialize snapshot namespace for legacy clients

Creating a snapshot on >=Kraken OSDs using <=Jewel clients can result
in an improperly initialized snapshot namespace. As a result, attempting
to remove the snapshot using a >=Kraken client will result in an -EINVAL
error.

Fixes: http://tracker.ceph.com/issues/19413
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/cls/rbd/cls_rbd.cc
src/cls/rbd/cls_rbd.h