]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: disable filestore_xfs_extsize by default 7265/head
authorKen Dreyer <kdreyer@redhat.com>
Mon, 18 Jan 2016 15:24:46 +0000 (08:24 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Mon, 18 Jan 2016 15:26:31 +0000 (08:26 -0700)
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

index 8542162fb09b3c72e4b5b6d6c0e94f5bf4ffd6ed..fdc18e4d978d51042502deb7880ffffe4cf0dbb0 100644 (file)
@@ -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)