]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "filestore: disable extra committing queue allowance"
authorSage Weil <sage@inktank.com>
Thu, 24 Jan 2013 06:16:50 +0000 (22:16 -0800)
committerSage Weil <sage@inktank.com>
Fri, 25 Jan 2013 05:06:46 +0000 (21:06 -0800)
This reverts commit 44dca5c8c5058acf9bc391303dc77893793ce0be.

The allowance is not only added for btrfs as of commit
e639254a0c5f8e3528fa8f2b2b451296653556bc, which makes us happy
for both non-btrfs (lower latency) and btrfs (better small io
throughput, no big stall during commit).

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

index e5ce1b20aaf819da6743f85fadda48a479ec758e..59caca5a6a2fa883369c551b17a6c68681b68216 100644 (file)
@@ -416,8 +416,8 @@ OPTION(filestore_journal_writeahead, OPT_BOOL, false)
 OPTION(filestore_journal_trailing, OPT_BOOL, false)
 OPTION(filestore_queue_max_ops, OPT_INT, 50)
 OPTION(filestore_queue_max_bytes, OPT_INT, 100 << 20)
-OPTION(filestore_queue_committing_max_ops, OPT_INT, 0)        // this is ON TOP of filestore_queue_max_*
-OPTION(filestore_queue_committing_max_bytes, OPT_INT, 0) //  "
+OPTION(filestore_queue_committing_max_ops, OPT_INT, 500)        // this is ON TOP of filestore_queue_max_*
+OPTION(filestore_queue_committing_max_bytes, OPT_INT, 100 << 20) //  "
 OPTION(filestore_op_threads, OPT_INT, 2)
 OPTION(filestore_op_thread_timeout, OPT_INT, 60)
 OPTION(filestore_op_thread_suicide_timeout, OPT_INT, 180)