bcachefs: Don't create bch_io_failures unless it's needed
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 10 Mar 2025 15:54:13 +0000 (11:54 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 16 Mar 2025 17:47:55 +0000 (13:47 -0400)
commit6d80fca9efe9255369aa91e85e8f3367c42acdde
tree9a72fb8b433d12f8eebec9c290bc2040ddead85f
parent9ec00891493d3e4f60678ed12988761538f95bd1
bcachefs: Don't create bch_io_failures unless it's needed

Only needed in retry path, no point in wasting stack space.

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