From aed85775bf53c273786ce4999320134822722af5 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Mon, 18 Jan 2016 08:24:46 -0700 Subject: [PATCH] osd: disable filestore_xfs_extsize by default This option involves a tradeoff: When disabled, fragmentation is worse, but large sequential writes are faster. When enabled, large sequential writes are slower, but fragmentation is reduced. Fixes: #14397 --- src/common/config_opts.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 8542162fb09..fdc18e4d978 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -979,7 +979,10 @@ OPTION(filestore_collect_device_partition_information, OPT_BOOL, true) // data corruption in xfs prior to kernel 3.5. filestore will // implicity disable this if it cannot confirm the kernel is newer // than that. -OPTION(filestore_xfs_extsize, OPT_BOOL, true) +// NOTE: This option involves a tradeoff: When disabled, fragmentation is +// worse, but large sequential writes are faster. When enabled, large +// sequential writes are slower, but fragmentation is reduced. +OPTION(filestore_xfs_extsize, OPT_BOOL, false) OPTION(filestore_journal_parallel, OPT_BOOL, false) OPTION(filestore_journal_writeahead, OPT_BOOL, false) -- 2.47.3