diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-12-12 03:14:30 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:50 +0300 |
commit | f2b542ba42a8b35d9dc43f5eab9791fea76bfd3a (patch) | |
tree | 6b3599a43744f92c3e66b170a1a2fd2457112508 /fs/bcachefs/trace.h | |
parent | 5f5c74661713327309f124e247de61db6729bc3d (diff) | |
download | linux-f2b542ba42a8b35d9dc43f5eab9791fea76bfd3a.tar.xz |
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 <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/trace.h')
0 files changed, 0 insertions, 0 deletions