projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f44a99
)
bcachefs: Increase max size for btree_trans bump allocator
author
Kent Overstreet
<kent.overstreet@gmail.com>
Thu, 19 May 2022 19:29:50 +0000
(15:29 -0400)
committer
Kent 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
patch
|
blob
|
history
diff --git
a/fs/bcachefs/btree_types.h
b/fs/bcachefs/btree_types.h
index 82c8c148c4bc25e7e555e152d69421b3be740ef6..ede5661b62a5525c13dd4ea1ebc23118339c9390 100644
(file)
--- 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 << 1
4
)
+#define BTREE_TRANS_MEM_MAX (1U << 1
6
)
struct btree_trans {
struct bch_fs *c;