From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>
Cc: devel@openvz.org, Artem Bulgakov <artem.bulgakov@virtuozzo.com>
Subject: Re: [Devel] [PATCH hci-8.2 0/2] blk-cbt and dm-ploop: fix a host WARN and a NULL put_page
Date: Mon, 30 Nov 2026 12:58:11 +0100 [thread overview]
Message-ID: <179603989153.1034346.11970728609466276912.b4-review@b4> (raw)
In-Reply-To: <20261127-cbt-ploop-fixes-v1-0-d6559232b819@virtuozzo.com>
Applying with these fixes on my side:
- 2/2: "If one of the allocations fails" -> "If the bat page
allocation fails" in the commit message.
On Fri, 27 Nov 2026 12:31:03 +0000, Vasileios Almpanis wrote:
> blk-cbt and dm-ploop: fix a host WARN and a NULL put_page
Both fixes are correct. Only a failed alloc_page() oopses: a NULL pio
was already fine, mempool_free() ignores NULL. Hence the change in the
message of 2/2.
> With both patches applied,
> the first one only prints a warning and the second one fails the write
> with an I/O error instead of an oops.
Not quite an I/O error: the request ends with BLK_STS_RESOURCE, so the
upper layer gets -ENOMEM. That is item 2 below.
Separate patches, not needed for this series. I created a task for
each:
1. BLKCBTGET with CI_FLAG_ONCE clears the bits it reports, and it runs
before the CAP_SYS_ADMIN check with no open mode check either. So
container root that opens its own disk read-only can wipe the CBT
map, and the next incremental backup silently misses those blocks.
https://virtuozzo.atlassian.net/browse/VSTOR-157680
2. A failed GFP_ATOMIC allocation in ploop_prepare_bat_update() under
bat_lock is a transient condition, but the callers end the guest
write with BLK_STS_RESOURCE. For ext4 in a container that is a
journal abort and a read-only remount. It should be retried instead.
https://virtuozzo.atlassian.net/browse/VSTOR-157681
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-11-30 11:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 12:31 Vasileios Almpanis
2026-11-27 12:31 ` [Devel] [PATCH hci-8.2 1/2] block/blk-cbt: don't WARN on an ABI version mismatch Vasileios Almpanis
2026-11-30 11:58 ` Konstantin Khorenko
2026-12-01 0:47 ` no-reply
2026-11-27 12:31 ` [Devel] [PATCH hci-8.2 2/2] dm-ploop: don't put a NULL bat page in ploop_free_piwb() Vasileios Almpanis
2026-11-30 11:58 ` Konstantin Khorenko
2026-12-01 0:48 ` no-reply
2026-11-30 11:58 ` Konstantin Khorenko [this message]
2026-11-30 11:58 ` [Devel] [PATCH hci-8.2 0/2] blk-cbt and dm-ploop: fix a host WARN and a NULL put_page 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=179603989153.1034346.11970728609466276912.b4-review@b4 \
--to=khorenko@virtuozzo.com \
--cc=artem.bulgakov@virtuozzo.com \
--cc=devel@openvz.org \
--cc=vasileios.almpanis@virtuozzo.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox