summaryrefslogtreecommitdiff
path: root/fs/bcachefs/alloc_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-06-27 17:29:20 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:10:05 -0400
commit494036d862dfff1de9782492692da225479b7146 (patch)
tree9e056723d45792ab5c1621df755420d1e7a1f3a0 /fs/bcachefs/alloc_types.h
parent2766876d5d118abd59d14fbe5b31e7e208ea11f2 (diff)
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/alloc_types.h')
-rw-r--r--fs/bcachefs/alloc_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/alloc_types.h b/fs/bcachefs/alloc_types.h
index a01fddfba004..ddcaf0631a8b 100644
--- a/fs/bcachefs/alloc_types.h
+++ b/fs/bcachefs/alloc_types.h
@@ -17,6 +17,7 @@ struct bucket_alloc_state {
};
#define BCH_WATERMARKS() \
+ x(reclaim) \
x(btree_copygc) \
x(btree) \
x(copygc) \