led too.
>
> I have CCed Jens and the io_uring mailing list to clarify:
> 1. Are short IORING_OP_READV reads possible on files/block devices?
> 2. Are short IORING_OP_WRITEV writes possible on files/block devices?
In general we try very hard to avoid them, but if eg we get a short read
or write from blocking context (eg io-wq), then io_uring does return
that. There's really not much we can do here, it seems futile to retry
IO which was issued just like it would've been from a normal blocking
syscall yet it is still short.
--
Jens Axboe
some other interested folks]
>
> Any thoughts on this patch? It is fixing an observed IO error when running
> virtio-blk with the default 512b logical block size backed by a drive
> formatted
> with 4k logical block.
I ran into this issue and tested the patch. Works for me!
Tested-by: Jens Axboe
--
Jens Axboe