From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 v10 0/9] dm-ploop: give back unused tail of top delta on suspend
Date: Thu, 19 Nov 2026 16:50:27 +0100 [thread overview]
Message-ID: <179510342775.306553.13080616841820031580.b4-review@b4> (raw)
In-Reply-To: <20261119151547.3656812-1-alexander.ivanov@virtuozzo.com>
I won't apply this version, please send v11 with the changes below.
All four v9 items are done, thanks, and so is Sashiko's v9 Medium:
preresume now waits for the prealloc and always reloads outside
standby. 3/9, 4/9 and 9/9 are fine as they are. What is left, all in
8/9:
1. ploop_drop_prealloc() clears prealloc_size without a wake_up() of
dispatcher_wq_prealloc. A waiter in ploop_allocate_cluster() or in
a resize sleeps until the allocator wakes it, and the allocator
wakes only after it took a non-zero request. If the drop comes
first, the waiter's condition is true but nobody wakes it: the
resize, or a runner doing a merge COW, sleeps forever, and
postsuspend then hangs in down_write(&ctl_rwsem) under the
suspend lock. Wake the queue in ploop_drop_prealloc() when it
cleared a request.
2. Commit message: "would make the reload skip silently" is stale, v10
warns on that skip. The "Drop the pending requests on postsuspend"
paragraph is five sentences after "Drop them once more ..." was
spliced in; split it there, and say who "Both" are ("Postsuspend
and messages wait ...").
On Thu, 19 Nov 2026 16:15:38 +0100, Alexander Ivanov wrote:
> v10:
> - Rebase on the two patches above.
Checked: 4/9 keeps "deltas[level].file = file;" after the clone
loop and no error path brings the double fput back.
--
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-19 15:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 15:15 Alexander Ivanov
2026-11-19 15:15 ` [Devel] [PATCH hci-8.2 v10 1/9] dm-ploop: reject a delta header whose BAT does not cover the target Alexander Ivanov
2026-11-19 15:15 ` [Devel] [PATCH hci-8.2 v10 2/9] dm-ploop: reject empty deltas Alexander Ivanov
2026-11-19 15:15 ` [Devel] [PATCH hci-8.2 v10 3/9] dm-ploop: set delta is_raw before applying its mappings Alexander Ivanov
2026-11-19 15:15 ` [Devel] [PATCH hci-8.2 v10 4/9] dm-ploop: factor out ploop_read_delta() from ploop_add_delta() Alexander Ivanov
2026-11-19 15:15 ` [Devel] [PATCH hci-8.2 v10 5/9] dm-ploop: take bat_lock around md page lookup in ploop_llseek_hole() Alexander Ivanov
2026-11-19 15:15 ` [Devel] [PATCH hci-8.2 v10 6/9] dm-ploop: fix use-after-free on the last inflight_md decrement Alexander Ivanov
2026-11-19 15:15 ` [Devel] [PATCH hci-8.2 v10 7/9] dm-ploop: fix flip_upper_deltas racing with resume Alexander Ivanov
2026-11-19 15:15 ` [Devel] [PATCH hci-8.2 v10 8/9] dm-ploop: reload metadata on resume Alexander Ivanov
2026-11-19 15:50 ` Konstantin Khorenko
2026-11-19 15:15 ` [Devel] [PATCH hci-8.2 v10 9/9] dm-ploop: truncate unused tail of top delta on suspend Alexander Ivanov
2026-11-19 15:50 ` Konstantin Khorenko [this message]
2026-11-20 8:17 ` [Devel] [PATCH hci-8.2 v10 0/9] dm-ploop: give back " Alexander Ivanov
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=179510342775.306553.13080616841820031580.b4-review@b4 \
--to=khorenko@virtuozzo.com \
--cc=alexander.ivanov@virtuozzo.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox