diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-27 17:29:20 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:05 -0400 |
commit | 494036d862dfff1de9782492692da225479b7146 (patch) | |
tree | 9e056723d45792ab5c1621df755420d1e7a1f3a0 /fs/bcachefs/buckets.h | |
parent | 2766876d5d118abd59d14fbe5b31e7e208ea11f2 (diff) | |
download | linux-494036d862dfff1de9782492692da225479b7146.tar.gz linux-494036d862dfff1de9782492692da225479b7146.tar.bz2 linux-494036d862dfff1de9782492692da225479b7146.zip |
bcachefs: BCH_WATERMARK_reclaim
Add another watermark for journal reclaim - this is needed for the next
patches, that unify BCH_WATERMARK with JOURNAL_WATERMARK.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/buckets.h')
-rw-r--r-- | fs/bcachefs/buckets.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/buckets.h b/fs/bcachefs/buckets.h index 803780d9b8b7..f9d7dda07ea6 100644 --- a/fs/bcachefs/buckets.h +++ b/fs/bcachefs/buckets.h @@ -170,6 +170,7 @@ static inline u64 bch2_dev_buckets_reserved(struct bch_dev *ca, enum bch_waterma reserved += ca->nr_btree_reserve; fallthrough; case BCH_WATERMARK_btree_copygc: + case BCH_WATERMARK_reclaim: break; } |