From: Sage Weil Date: Tue, 28 Jul 2015 13:05:04 +0000 (-0400) Subject: Merge pull request #5116 from yuyuyu101/wip-compressor X-Git-Tag: v9.1.0~481 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=14542e7f7a7fa8f225f09081d19d7f967c087ef9;p=ceph.git Merge pull request #5116 from yuyuyu101/wip-compressor Wip compressor Reviewed-by: Sage Weil --- 14542e7f7a7fa8f225f09081d19d7f967c087ef9 diff --cc src/common/config_opts.h index b0dde869a8db,ea885346dc81..d41e44df67f1 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@@ -77,8 -77,13 +77,14 @@@ OPTION(xio_mp_max_page, OPT_INT, 4096) OPTION(xio_mp_max_hint, OPT_INT, 4096) // max size-hint chunks OPTION(xio_portal_threads, OPT_INT, 2) // xio portal threads per messenger OPTION(xio_transport_type, OPT_STR, "rdma") // xio transport type: {rdma or tcp} +OPTION(xio_max_send_inline, OPT_INT, 512) // xio maximum threshold to send inline + OPTION(async_compressor_enabled, OPT_BOOL, false) + OPTION(async_compressor_type, OPT_STR, "snappy") + OPTION(async_compressor_threads, OPT_INT, 2) + OPTION(async_compressor_thread_timeout, OPT_INT, 5) + OPTION(async_compressor_thread_suicide_timeout, OPT_INT, 30) + DEFAULT_SUBSYS(0, 5) SUBSYS(lockdep, 0, 1) SUBSYS(context, 0, 1)