summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-07-04 22:15:09 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2021-07-06 13:03:52 -0400
commitafdadd409b64ce1987b889e42fa545c49e4e1e6d (patch)
treec42671fc05500512b26725a0044467af54ed5255
parent65fe44325be7c9baff098cc240d4bd2bf9537bd0 (diff)
bcachefs: Increase BTREE_TRANS_MEM_MAX
This sizes the mempool that backs the bump allocator for bch2_trans_kmalloc(). Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r--fs/bcachefs/btree_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_types.h b/fs/bcachefs/btree_types.h
index a923757c07da..ec5195daead4 100644
--- a/fs/bcachefs/btree_types.h
+++ b/fs/bcachefs/btree_types.h
@@ -363,7 +363,7 @@ struct btree_trans_commit_hook {
struct btree_trans_commit_hook *next;
};
-#define BTREE_TRANS_MEM_MAX 4096
+#define BTREE_TRANS_MEM_MAX (1U << 14)
struct btree_trans {
struct bch_fs *c;