Am 24.03.2026 um 09:43 hat Hanna Czenczek geschrieben: > Hi, > > v1 is here: > > https://lists.nongnu.org/archive/html/qemu-block/2026-03/msg00307.html > > Short reads and writes can happen. One way to reproduce them is via > FUSE export, if you force it to limit the request length in the > read/write path (patch in the commit messages of patches 2 and 3), but > specifically short writes apparently can also happen with NFS. > > For the file-posix block driver, aio=threads already takes care of them. > aio=native does not, at all, and aio=io_uring only handles short reads, > but not writes. This series has both aio=native and aio=io_uring handle > both short reads and writes. zone-append is not touched, as I don’t > believe resubmitting the tail (if a short append can even happen) is > safe. > > v2: > - Patch 1 (kept R-b): > - Put all 32-bit fields together > - Removed unnecessary parentheses > - Patch 2 (kept R-b): > - make qemu_iovec_destroy() call contingent on qiov.iov being non-NULL > - include total_done in offset in laio_do_submit() > - Patch 3 (kept R-b): > - make qemu_iovec_destroy() call contingent on qiov.iov being non-NULL > - include total_done in offset in luring_prep_sqe()
Thanks, applied to the block branch. Kevin
