diff options
author | Kent Overstreet <[email protected]> | 2022-12-11 19:14:30 -0500 |
---|---|---|
committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:50 -0400 |
commit | f2b542ba42a8b35d9dc43f5eab9791fea76bfd3a (patch) | |
tree | 6b3599a43744f92c3e66b170a1a2fd2457112508 /lib/test-string_helpers.c | |
parent | 5f5c74661713327309f124e247de61db6729bc3d (diff) |
bcachefs: Go RW before check_alloc_info()
It's possible to do btree updates before going RW by adding them to the
list of updates for journal replay to do, but this is limited by what
fits in RAM. This patch switches the second alloc info phase to run
after going RW - btree_gc has already ensured the alloc btree itself is
correct - and tweaks the allocation path to deal with the potential
small inconsistencies.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions