diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-09 08:27:30 -0900 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-09 09:14:11 -0900 |
commit | ac1b32acb4ca8c59c0e4911a8d3b27fd72dc54af (patch) | |
tree | e73a6ea5ddb6f3ece6a3e6c069ffa9ecc5e1ee44 /libbcache.h | |
parent | a17f7bcec7ed810a247c24e56229af8f43a9a6ae (diff) |
cmd_device_fail
Add a comamnd for setting a device as failed, update bcache sources
Diffstat (limited to 'libbcache.h')
-rw-r--r-- | libbcache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbcache.h b/libbcache.h index 779b4708..965f09c0 100644 --- a/libbcache.h +++ b/libbcache.h @@ -32,6 +32,9 @@ struct format_opts { unsigned meta_replicas; unsigned data_replicas; + unsigned meta_replicas_required; + unsigned data_replicas_required; + unsigned meta_csum_type; unsigned data_csum_type; unsigned compression_type; @@ -48,6 +51,8 @@ static inline struct format_opts format_opts_default() .data_csum_type = BCH_CSUM_CRC32C, .meta_replicas = 1, .data_replicas = 1, + .meta_replicas_required = 1, + .data_replicas_required = 1, }; } |