diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-12-12 01:14:30 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:09:50 +0200 |
commit | f2b542ba42a8b35d9dc43f5eab9791fea76bfd3a (patch) | |
tree | 6b3599a43744f92c3e66b170a1a2fd2457112508 /fs/bcachefs/opts.h | |
parent | bcachefs: Start copygc when first going read-write (diff) | |
download | linux-f2b542ba42a8b35d9dc43f5eab9791fea76bfd3a.tar.xz linux-f2b542ba42a8b35d9dc43f5eab9791fea76bfd3a.zip |
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/opts.h')
0 files changed, 0 insertions, 0 deletions