]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: warning message for mirroring pool option 12319/head
authorGaurav Kumar Garg <garg.gaurav52@gmail.com>
Mon, 5 Dec 2016 14:09:55 +0000 (15:09 +0100)
committerGaurav Kumar Garg <garg.gaurav52@gmail.com>
Wed, 4 Jan 2017 10:06:19 +0000 (11:06 +0100)
commita0379f096d076fceea67f74abbb3395764e1e340
tree43d3a258256c70165c9968e32454a705b67dbceb
parentbbe1952e1db5ccc49443e85f7b3da86f6fb7cb5c
rbd: warning message for mirroring pool option

When user enable/disable mirroring option on a pool, than
re-enabling/disabling mirroring option should give warning
message if it is already enable/disable.
It should also give warning when changing the mode from pool
to image or vice versa.

Fixes: http://tracker.ceph.com/issues/18125
Reported-by: Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
src/tools/rbd/action/MirrorPool.cc