diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-13 13:31:02 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:17 -0400 |
commit | 61f321fc8bcb844ff0b2520ba71753cb5a511a9a (patch) | |
tree | 9c9c11595a51cf308855e9e1463434ecf195a253 /fs/bcachefs/opts.h | |
parent | 3aea434272884b8dc77c57624a6d3fec55ade898 (diff) |
bcachefs: Make deferred inode updates a mount option
Journal reclaim may still need performance tuning
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/opts.h')
-rw-r--r-- | fs/bcachefs/opts.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/bcachefs/opts.h b/fs/bcachefs/opts.h index f4cb0625c3cc..53bf06e70cd5 100644 --- a/fs/bcachefs/opts.h +++ b/fs/bcachefs/opts.h @@ -295,7 +295,12 @@ enum opt_type { OPT_UINT(0, BCH_REPLICAS_MAX), \ NO_SB_OPT, 1, \ "n", "Data written to this device will be considered\n"\ - "to have already been replicated n times") + "to have already been replicated n times") \ + x(new_inode_updates, u8, \ + OPT_MOUNT, \ + OPT_BOOL(), \ + NO_SB_OPT, false, \ + NULL, "Enable new btree write-cache for inode updates") struct bch_opts { |