Re: [v2 for-next 2/3] block: allow error injection rules to delay bios
From: Christoph Hellwig
Date: Fri Sep 18 2026 - 10:44:25 EST
On Tue, Sep 15, 2026 at 11:24:47PM +0200, Haris Iqbal wrote:
> We can do that, but that's only half of the feature, and the weaker half
> IMHO. Only delay with a successful completion covers a more useful scenario
> for testing in the upper layers.
>
> I am thinking about how else we can do this, but did not find a nice
> approach.
>
> Maybe we can #ifdef the new flag on CONFIG_BLK_ERROR_INJECTION?
At least I'm not worried about the well-predicted flag, but about
using up the very limited flag space. But if this is so important
we'll somehow have to live with it. I'll take another closer look
to see if I can come up with a better idea.