All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: "Denis V. Lunev" <den@openvz.org>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2] dm-qcow2: fix a zeroed cluster under allocation reading as backing data
Date: Mon, 30 Nov 2026 14:22:46 +0100	[thread overview]
Message-ID: <179604496690.1034346.11145967893560515238.b4-review@b4> (raw)
In-Reply-To: <20261123183816.190058-1-den@openvz.org>

Applying with these fixes on my side:

- message: name 8584282d4e93 ("dm-qcow2: keep the zero flag of an
  L2 entry when its writeback fails") where it says the zero-flagged
  old entry is saved in pe_page;
- message: "zero flagged" -> "zero-flagged";
- message: the last two sentences of paragraph 2 are a paragraph of
  their own.

On Mon, 23 Nov 2026 19:38:16 +0100, Denis V. Lunev wrote:
> index until their writeback is done. Such an entry was 0, or it had the
> zero flag and was saved in pe_page, which is where
> revert_l_entries_update() takes the old entries from.

A zero-flag-only entry (no host cluster) goes to pe_page only since
8584282d4e93: before it, prepare_l1l2_allocation() asked for pe_page
on map->prealloced, not map->all_zeroes. On a branch without that
commit old reads 0 for such an entry and the read still goes to the
backing image, so the message names it for whoever backports this.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

  parent reply	other threads:[~2026-11-30 13:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 18:38 Denis V. Lunev
2026-11-24 23:21 ` Andrey Zhadchenko
2026-11-30 13:22 ` Konstantin Khorenko [this message]
2026-11-30 13:23 ` Konstantin Khorenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179604496690.1034346.11145967893560515238.b4-review@b4 \
    --to=khorenko@virtuozzo.com \
    --cc=den@openvz.org \
    --cc=devel@openvz.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.