From c7252a3d54bae88f91c2b4e63fc9c27cfbb2423e 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 (cherry picked from commit aed85775bf53c273786ce4999320134822722af5) --- 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 f2b16c58bcb7..25660a0bebb6 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -817,7 +817,10 @@ OPTION(filestore_fadvise, 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