]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls_rbd: default initialize snapshot namespace for legacy clients 14934/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 2 May 2017 01:06:19 +0000 (21:06 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 3 May 2017 13:51:26 +0000 (09:51 -0400)
commitd51b7553919233d2f18d5fa79a0ff3c09e71ba8a
tree3f2e7cce112d12a859f64c7a2bbca398bfc1100e
parent6b1782959ee29de6eff9a2d2c81a108485347bbd
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>
(cherry picked from commit 03b0b03071f3e04754896664c69f73759ddb907a)

Conflicts:
src/cls/rbd/cls_rbd.h: trivial resolution
src/cls/rbd/cls_rbd.cc
src/cls/rbd/cls_rbd.h