summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/opts.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-12-12 01:14:30 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:09:50 +0200
commitf2b542ba42a8b35d9dc43f5eab9791fea76bfd3a (patch)
tree6b3599a43744f92c3e66b170a1a2fd2457112508 /fs/bcachefs/opts.h
parentbcachefs: Start copygc when first going read-write (diff)
downloadlinux-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