From 8fc43179270f1a63bdc676fb77f88a8593ced524 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Tue, 13 Mar 2012 15:31:21 -0700 Subject: [PATCH] config_opts.h: opts for omap_xattrs Signed-off-by: Samuel Just --- src/common/config_opts.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index b41db96713d5f..9aeb600c2f6d2 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -310,6 +310,13 @@ OPTION(osd_op_complaint_time, OPT_FLOAT, 30) // how many seconds old makes an op OPTION(osd_command_max_records, OPT_INT, 256) OPTION(filestore, OPT_BOOL, false) OPTION(filestore_debug_omap_check, OPT_BOOL, 0) // Expensive debugging check on sync +// Use omap for xattrs for attrs over +OPTION(filestore_xattr_use_omap, OPT_BOOL, false) +// filestore_max_inline_xattr_size or +OPTION(filestore_max_inline_xattr_size, OPT_U32, 512) +// for more than filestore_max_inline_xattrs attrs +OPTION(filestore_max_inline_xattrs, OPT_U32, 2) + OPTION(filestore_max_sync_interval, OPT_DOUBLE, 5) // seconds OPTION(filestore_min_sync_interval, OPT_DOUBLE, .01) // seconds OPTION(filestore_dev, OPT_STR, "") -- 2.39.5