Re: [PATCH] block: keep flush error across tag iterator reference drops

From: Christoph Hellwig

Date: Tue Nov 03 2026 - 05:20:09 EST


Looks good. Bu I guess Jens already picked up the AI-Version of
this:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=67c43ceaa29e9b904216651697adf20445b219fc

Sorry for not catchign yours earlier.

On Tue, Oct 20, 2026 at 12:04:26PM -0700, Nirmoy Das wrote:
> Reproduced on v7.3 in an x86 QEMU guest with scsi_debug, failing every
> SYNCHRONIZE CACHE through its debugfs error injection while 16
> processes read /sys/block/sda/inflight:
>
> modprobe scsi_debug dev_size_mb=64 ndelay=100000
> echo "2 1 0x35 0x00 0x00 0x02 0x04 0x44 0x00" > \
> /sys/kernel/debug/scsi_debug/<h:c:t:l>/error
>
> fsync() returned 0 for 35 of 18000 calls on /dev/sda and for 46 of 18000
> calls on a file on ext4 without a journal, over six runs. With this
> change every call failed.

Can you add this to blktests?