Re: [PATCH for-rc 0/3] block: error injection delay fixes

From: Jens Axboe

Date: Sat Dec 05 2026 - 09:34:03 EST



On Sat, 05 Dec 2026 15:19:09 +0100, Md Haris Iqbal wrote:
> Please consider these for the current rc. They fix the error injection
> delay_us option added in 6bd856cc9996 ("block: allow error injection
> rules to delay bios").
>
> 1: fail a delayed bio if its disk was removed; unbinding sd while a bio
> is delayed oopses without it.
> 2: clear BIO_ERROR_INJECTED in bio_set_dev(), so it only covers the
> device the bio was delayed on.
> 3: copy the flag to bio_split() splits, so raid10's discard split isn't
> checked twice.
>
> [...]

Applied, thanks!

[1/3] block: fail a delayed bio if its disk was removed
(no commit info)
[2/3] block: clear BIO_ERROR_INJECTED when a bio changes device
(no commit info)
[3/3] block: copy BIO_ERROR_INJECTED to the split in bio_split()
(no commit info)

Best regards,
--
Jens Axboe