]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: __bch2_read() now takes a btree_trans
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 10 Mar 2025 17:33:41 +0000 (13:33 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 24 Mar 2025 13:50:34 +0000 (09:50 -0400)
commit35de2abc22274689e78a6582c6b4439db30673ef
tree7b0b58d3335bdc1ebd1e15de4c3d90e7bed02453
parent3fb8bacb14b6fb7a0040177bb7766f5c7bd68913
bcachefs: __bch2_read() now takes a btree_trans

Next patch will be checking if the extent we're reading from matches the
IO failure we saw before marking the failure.

For this to work, __bch2_read() needs to take the same transaction
context that bch2_rbio_retry() uses to do that check.

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