diff options
author | Sage Weil <sage@inktank.com> | 2013-09-30 10:32:01 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-09-30 10:49:55 -0700 |
commit | f3f9c1dd3dc86b815b4c656ee03e2dac4ded05f1 (patch) | |
tree | 88b170a08c9b6ee7845d432a616d49b8b32b9b2d /src/common/config_opts.h | |
parent | 65eabb38526f6f0cd8a58462bed540c19480e957 (diff) | |
download | ceph-wip-fs-crc.tar.gz |
os/FileStore: add sloppy crc trackingwip-fs-crc
Opportunistically track CRCs for data we write and verify it for data
we read.
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/common/config_opts.h')
-rw-r--r-- | src/common/config_opts.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 1443fabdcd4..d7505306b6e 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -557,6 +557,9 @@ 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_sloppy_crc, OPT_BOOL, false) // track sloppy crcs +OPTION(filestore_sloppy_crc_block_size, OPT_INT, 65536) + OPTION(filestore_max_sync_interval, OPT_DOUBLE, 5) // seconds OPTION(filestore_min_sync_interval, OPT_DOUBLE, .01) // seconds OPTION(filestore_btrfs_snap, OPT_BOOL, true) |