diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-07-24 14:55:05 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:08 -0400 |
commit | a50ed7c8e83e52dbfd54a47b5e123f85f5cd91f1 (patch) | |
tree | 93b9ef7db941583fe8a26920129c8586cdb11853 /fs/bcachefs/bcachefs_format.h | |
parent | a9bec5208b4379c87fa8361f813cb71b5581540e (diff) | |
download | lwn-a50ed7c8e83e52dbfd54a47b5e123f85f5cd91f1.tar.gz lwn-a50ed7c8e83e52dbfd54a47b5e123f85f5cd91f1.zip |
bcachefs: BCH_SB_RESERVE_BYTES
Add an option, gc_reserve_bytes, to set the copygc reserve as a size
instead of a percent
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs_format.h')
-rw-r--r-- | fs/bcachefs/bcachefs_format.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h index eb14dba87402..ac0c7d6a07fb 100644 --- a/fs/bcachefs/bcachefs_format.h +++ b/fs/bcachefs/bcachefs_format.h @@ -1221,6 +1221,7 @@ LE64_BITMASK(BCH_SB_BACKGROUND_TARGET, struct bch_sb, flags[1], 52, 64); LE64_BITMASK(BCH_SB_BACKGROUND_COMPRESSION_TYPE, struct bch_sb, flags[2], 0, 4); +LE64_BITMASK(BCH_SB_GC_RESERVE_BYTES, struct bch_sb, flags[2], 4, 64); /* Features: */ enum bch_sb_features { |