From: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
To: Konstantin Khorenko <khorenko@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: Fri, 20 Nov 2026 09:17:08 +0100 [thread overview]
Message-ID: <67768498-9a02-4f18-bff6-20bb22c8f2d4@virtuozzo.com> (raw)
In-Reply-To: <179510342775.306553.13080616841820031580.b4-review@b4>
On 11/19/26 16:50, Konstantin Khorenko wrote:
> 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.
Fixed.
> 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 ...").
Reworded the commit message.
>
> 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.
>
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
prev parent reply other threads:[~2026-11-20 8:19 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 ` [Devel] [PATCH hci-8.2 v10 0/9] dm-ploop: give back " Konstantin Khorenko
2026-11-20 8:17 ` Alexander Ivanov [this message]
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=67768498-9a02-4f18-bff6-20bb22c8f2d4@virtuozzo.com \
--to=alexander.ivanov@virtuozzo.com \
--cc=devel@openvz.org \
--cc=khorenko@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