From: Kent Overstreet Date: Thu, 19 May 2022 19:29:50 +0000 (-0400) Subject: bcachefs: Increase max size for btree_trans bump allocator X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b7c1104612e4ab46d8e481e323fbe1cca07f5cbd;p=linux.git bcachefs: Increase max size for btree_trans bump allocator 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 --- diff --git a/fs/bcachefs/btree_types.h b/fs/bcachefs/btree_types.h index 82c8c148c4bc2..ede5661b62a55 100644 --- a/fs/bcachefs/btree_types.h +++ b/fs/bcachefs/btree_types.h @@ -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;