[Devel] [PATCH hci-8.2 3/7] dm-qcow2: drop the WARN on a read failing with ENOSPC

Konstantin Khorenko khorenko at virtuozzo.com
Fri Nov 27 14:51:34 MSK 2026


Item 6 of the cover letter reply.

On Fri, 27 Nov 2026 12:15:46 +0100, Alexander Ivanov wrote:
> qrq_endio() warns when a request other than a write or a flush fails
> with ENOSPC. But the error comes from the image file's read_iter, and
> a FUSE server may return ENOSPC for a read.

Name the path that does it: vstorage kio, ioreq_complete() in
fs/fuse/kio/pcs/fuse_io.c, turns PCS_REQ_F_NOSPACE into -ENOSPC for
any request, reads included. And say in one line why 12ab90fbc953
("dm-qcow2: fix WARN in qrq_endio() on flush failing with ENOSPC")
two weeks ago let the WARN stay for reads: a reader of both commits
will ask.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list