]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: fix 'mds set allow_new_snaps'
authorSage Weil <sage@inktank.com>
Mon, 3 Feb 2014 21:19:14 +0000 (13:19 -0800)
committerSage Weil <sage@inktank.com>
Tue, 4 Feb 2014 01:50:18 +0000 (17:50 -0800)
commit408b0c8e759b153b038ddeb6eca8ddfd92b75dd8
tree50a5a1fc33c8464e01cbdd45bdef9febb62b06ad
parentf9b9f524204e4d1459e35cdf4cfa17fc3e854cf2
mon: fix 'mds set allow_new_snaps'

We had already added this as a flag (set/unset) when I generalized the
'mds set_max_mds' to be 'ceph mds set <var> <val>'.  Switch the snaps
flag to be a key/value to with true/false (similar to the hashpspool
pool flag) since there are fewer users and the var/val approach is more
general.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
qa/workunits/cephtool/test.sh
src/mon/MDSMonitor.cc
src/mon/MonCommands.h
src/test/pybind/test_ceph_argparse.py