[Devel] [PATCH hci-8.1 v2 5/7] dm-qcow2: implement per-qio fast processing
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Nov 10 20:56:36 MSK 2026
I won't apply this version, please send v3 with the changes below.
On Tue, 10 Nov 2026 14:46:27 +0300, Andrey Zhadchenko wrote:
> >From here on process_one_qio() runs in parallel with do_qcow2_work(),
> so a write may reach perform_rw_mapped() after main kwork switched
> its L2 page from DIRTY to WRITEBACK. perform_rw_mapped() parks such
> a write until the writeback ends.
Item 3 of the cover letter reply:
- add a paragraph on the second window: between the parse and the data
submit main kwork can discard, free and reuse the cluster, so a
stale write, read or partial punch hits the new owner; say it is a
known limitation, fixed by a follow-up series, with its Jira issue;
- reword the first line so it does not start with "From": the mail
got it escaped to ">From", and that went into the commit.
Why: this is the patch where process_one_qio() starts running in
parallel with main kwork, and right now the message reads as if the
writeback race were the only one.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list