bcachefs: Increase max size for btree_trans bump allocator
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 19 May 2022 19:29:50 +0000 (15:29 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:33 +0000 (17:09 -0400)
With backpointers, alloc keys have gotten bigger, so we're needing more
memory here.

We're probably going to need to go with something more sophisticated
than a bump allocator, but - let's see if we can avoid doing that just
yet.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/btree_types.h

index 82c8c148c4bc25e7e555e152d69421b3be740ef6..ede5661b62a5525c13dd4ea1ebc23118339c9390 100644 (file)
@@ -374,7 +374,7 @@ struct btree_trans_commit_hook {
        struct btree_trans_commit_hook  *next;
 };
 
-#define BTREE_TRANS_MEM_MAX    (1U << 14)
+#define BTREE_TRANS_MEM_MAX    (1U << 16)
 
 struct btree_trans {
        struct bch_fs           *c;