]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: discard fastpath now uses bch2_discard_one_bucket()
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 22 Nov 2024 01:09:45 +0000 (20:09 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:19 +0000 (01:36 -0500)
commitbb61afebca3b5608842e2ac59bbe4eedf137050f
tree5803d3d823e5bab59bce7656034609d43c87318c
parente1cb4f56dc4cfcf1cb1b90479cb35c5a304ff527
bcachefs: discard fastpath now uses bch2_discard_one_bucket()

The discard bucket fastpath previously was using its own code for
discarding buckets and clearing them in the need_discard btree, which
didn't have any of the consistency checks of the main discard path.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_background.c