[Devel] [PATCH hci-8.1 v3 0/8] dm-qcow2: per-qio fast path

Konstantin Khorenko khorenko at virtuozzo.com
Fri Nov 27 20:50:37 MSK 2026


On Fri, 13 Nov 2026 14:11:18 +0300, Andrey Zhadchenko wrote:
> dm-qcow2: per-qio fast path
> 
> dm-qcow2 processes every request sequentially in a single kwork.
> Unfortunately this introduces latency and cpu-bound limits. This
> patchset adds a fast path: right after splitting, qios which need no
> metadata changes are processed outside the main kwork, in parallel
> with it and with each other. These are:
> - reads and writes of fully allocated clusters;
> - reads of unallocated clusters, which are zero-filled or forwarded
>   to the lower delta;
> - partial discards, which only punch a hole in the image file.
> Everything else (allocations, COW, compressed clusters, discards
> changing metadata, backward merge) still goes to the main kwork.
> 
> [...]

Applied to branch-rh10-6.12.0-211.75.1.26.x.vz10-ovz, will be released in rh10-6.12.0-211.75.1.26.5.vz10, thanks!

[1/8] dm-qcow2: repeat md page lookup if it was inserted in parallel
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/578038097e32
[2/8] dm-qcow2: prepare process_one_qio() for fastpath
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/588e43dce288
[3/8] dm-qcow2: count fast path writes in parse_metadata()
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/702a1c1fde9b
[4/8] dm-qcow2: add per-qio work infrastructure
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/5aad02ba144c
[5/8] dm-qcow2: implement per-qio fast processing
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/83493dd7372c
[6/8] dm-qcow2: add fast_path module parameter
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/1f5d9f9902c4
[7/8] dm-qcow2: process fast path qios in per-cpu batches on a workqueue
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/02a772e53c8f
[8/8] dm-qcow2: declare DM_TARGET_NOWAIT
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/3842ba4cce11

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team




More information about the Devel mailing list