From: Ken Dreyer Date: Mon, 18 Jan 2016 15:24:46 +0000 (-0700) Subject: osd: disable filestore_xfs_extsize by default X-Git-Tag: v10.0.3~25^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F7265%2Fhead;p=ceph.git 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 --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 8542162fb09b..fdc18e4d978d 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)