]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: Make inline size tunable
authorLi Wang <liwang@ubuntukylin.com>
Mon, 23 Dec 2013 03:31:15 +0000 (11:31 +0800)
committerYunchuan Wen <yunchuanwen@ubuntukylin.com>
Mon, 27 Jan 2014 07:25:00 +0000 (15:25 +0800)
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
src/common/config_opts.h

index 47e3783de2fc03055103860cdb9c367d5501b590..5b905f8db3f3c1837b741f27e8b8778f9f2fc066 100644 (file)
@@ -262,6 +262,7 @@ OPTION(client_oc_max_dirty_age, OPT_DOUBLE, 5.0)      // max age in cache before
 OPTION(client_oc_max_objects, OPT_INT, 1000)      // max objects in cache
 OPTION(client_debug_force_sync_read, OPT_BOOL, false)     // always read synchronously (go to osds)
 OPTION(client_debug_inject_tick_delay, OPT_INT, 0) // delay the client tick for a number of seconds
+OPTION(client_max_inline_size, OPT_INT, 4096)
 // note: the max amount of "in flight" dirty data is roughly (max - target)
 OPTION(fuse_use_invalidate_cb, OPT_BOOL, false) // use fuse 2.8+ invalidate callback to keep page cache consistent
 OPTION(fuse_allow_other, OPT_BOOL, true)