]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: don't set max_mds to use all daemons
authorJohn Spray <john.spray@redhat.com>
Fri, 23 Oct 2015 23:11:33 +0000 (00:11 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 10 Mar 2016 11:18:28 +0000 (11:18 +0000)
This is only useful if you want to test a
single namespace with no standbys.  It's easier
to initially have max_mds=1 and increase it
later than it is to go through the ritual
of decreasing max_mds and then deactivating
a daemon and waiting for it to stop.

Signed-off-by: John Spray <john.spray@redhat.com>
src/vstart.sh

index c1fc7ed7ff8a6967023e470a74bb16cd10db133f..151ca1b2877e8ca37ea1114a501b376c5766ab67 100755 (executable)
@@ -639,10 +639,6 @@ if [ "$start_mds" -eq 1 -a "$CEPH_NUM_MDS" -gt 0 ]; then
     echo $cmd
     $cmd
 
-    cmd="$CEPH_ADM mds set max_mds $CEPH_NUM_MDS"
-    echo $cmd
-    $cmd
-
     mds=0
     for name in a b c d e f g h i j k l m n o p
     do