bcachefs: Use BTREE_INSERT_LAZY_RW in bch2_check_alloc_info()
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 26 Jun 2022 22:31:51 +0000 (18:31 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:34 +0000 (17:09 -0400)
commit22add2ec6705cd66977717c49105e0910b2ef144
tree0dbf14f99869d14727f465198ccd2a536ce63e63
parent38585367442f09606d7a529be3290f2fd4cbcf84
bcachefs: Use BTREE_INSERT_LAZY_RW in bch2_check_alloc_info()

This runs before we go rw for journal replay, but after we're allowed to
go rw. It might be time to consider killing BTREE_INSERT_LAZY_RW,
though.

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