diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-03-13 03:23:27 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-03-13 03:23:27 -0400 |
commit | 6aabc97dc9c895cb1bb2423c84c7131bff7dd6c1 (patch) | |
tree | 8dd7d9ced909b8f86c50a96ab50684684c9d2b58 /libbcachefs.h | |
parent | 35d3f92ad57eae226e255817131fa02605aac1b5 (diff) |
Add --durability to format
Diffstat (limited to 'libbcachefs.h')
-rw-r--r-- | libbcachefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs.h b/libbcachefs.h index deaa287..8537a04 100644 --- a/libbcachefs.h +++ b/libbcachefs.h @@ -59,6 +59,7 @@ struct dev_opts { unsigned bucket_size; const char *group; unsigned data_allowed; + unsigned durability; bool discard; u64 nbuckets; @@ -71,6 +72,7 @@ static inline struct dev_opts dev_opts_default() { return (struct dev_opts) { .data_allowed = ~0U << 2, + .durability = 1, }; } |