I won't apply this version, please send v3 with the changes below.

On Tue, 10 Nov 2026 14:46:28 +0300, Andrey Zhadchenko wrote:
> CPUs are still processed in parallel. This is fine, since a fast path
> qio is only mapped and submitted as direct AIO: O_DIRECT is enforced
> for every delta. The exception is a partial discard, which punches

Item 4 of the cover letter reply: answer Sashiko's remark that
preparation sleeps too, or add it here.

Why: before the qio is mapped, prepare_one_embedded_qio() allocates
the bvec array with kvmalloc_array(GFP_NOIO) and the splits with
mempool_alloc(), and both sleep under memory pressure. Everything
queued after it on that CPU waits. The batching code itself is
correct.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to