]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/newstore: more conservative default for aio queue depth
authorSage Weil <sage@redhat.com>
Tue, 28 Apr 2015 16:28:13 +0000 (09:28 -0700)
committerSage Weil <sage@redhat.com>
Tue, 1 Sep 2015 17:39:41 +0000 (13:39 -0400)
There appears to be a kernel aio bug when the queue depth is small.

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

index f39d6435fdb6516bed505ab7c85bc7c42f3345aa..b83fef4f83023139962f7ded0792adba8aae42f4 100644 (file)
@@ -816,7 +816,7 @@ OPTION(newstore_o_direct, OPT_BOOL, true)
 OPTION(newstore_db_path, OPT_STR, "")
 OPTION(newstore_aio, OPT_BOOL, true)
 OPTION(newstore_aio_poll_ms, OPT_INT, 250)  // milliseconds
-OPTION(newstore_aio_max_queue_depth, OPT_INT, 64)
+OPTION(newstore_aio_max_queue_depth, OPT_INT, 4096)
 
 OPTION(filestore_omap_backend, OPT_STR, "leveldb")