]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: enabling/disabling rbd feature should report missing dependency 12238/head
authorGaurav Kumar Garg <garg.gaurav52@gmail.com>
Wed, 30 Nov 2016 09:47:34 +0000 (10:47 +0100)
committerGaurav Kumar Garg <garg.gaurav52@gmail.com>
Thu, 1 Dec 2016 15:17:05 +0000 (16:17 +0100)
commitbd023cfec8e9aaa8fb0095a8d9534c21b3209020
treecd74b18125b8fb0696da4df56f2ba4f830d56736
parentfbb0987da7231167821af6f38e963a8f7738c935
rbd: enabling/disabling rbd feature should report missing dependency

Currently while enabling or disabling rbd feature command does not
give missing dependency for eg: attempting to enable the journaling
feature on an image that doesn't have the exclusive-lock feature
enabled should give missing dependency error message.

Fixes: http://tracker.ceph.com/issues/16985
Reported-by: Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
src/librbd/operation/DisableFeaturesRequest.cc
src/librbd/operation/EnableFeaturesRequest.cc