]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: change mds_max_file_recover from 5 -> 32
authorSage Weil <sage@redhat.com>
Thu, 14 Aug 2014 21:39:29 +0000 (14:39 -0700)
committerSage Weil <sage@redhat.com>
Thu, 28 Aug 2014 20:09:25 +0000 (13:09 -0700)
These are reasonably cheap operations (stat) and we should be too worried
about queueing up a bunch of them.

Ideally this sort of thing would magically tune to the throughput we can
get from the cluster, but until then, let's choose a default that works for
more users.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h

index e09ce3b800e5063e1f5c7c66184c1b4280c01e1b..a12a3488f80b1c4b3fc0a5c44d7d45cf69dda8e9 100644 (file)
@@ -299,7 +299,7 @@ OPTION(mds_data, OPT_STR, "/var/lib/ceph/mds/$cluster-$id")
 OPTION(mds_max_file_size, OPT_U64, 1ULL << 40)
 OPTION(mds_cache_size, OPT_INT, 100000)
 OPTION(mds_cache_mid, OPT_FLOAT, .7)
-OPTION(mds_max_file_recover, OPT_INT, 5)
+OPTION(mds_max_file_recover, OPT_U32, 32)
 OPTION(mds_mem_max, OPT_INT, 1048576)        // KB
 OPTION(mds_dir_max_commit_size, OPT_INT, 10) // MB
 OPTION(mds_decay_halflife, OPT_FLOAT, 5)