From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>
Cc: devel@openvz.org, Den Lunev <den@virtuozzo.com>
Subject: Re: [Devel] [PATCH hci-8.2 3/3] dm/push_backup: remove the push_backup_read and push_backup_write messages
Date: Wed, 25 Nov 2026 12:47:50 +0100 [thread overview]
Message-ID: <179560727089.30071.18022643580330413718.b4-review@b4> (raw)
In-Reply-To: <20261125-push-backup-fixes-v1-3-8d5cc55c30a1@virtuozzo.com>
I won't apply this version, please send v2 with the changes below.
- The ploop test and older ploop-backup still send these messages:
items 1 and 2 of the cover letter reply.
- Drop the push_backup_stop pre-step in pb_message(): item 3.
- Bump the target version, drop the dead check: item 4.
On Wed, 25 Nov 2026 11:29:53 +0000, Vasileios Almpanis wrote:
> The current ploop-backup gets the ranges to back up and reports the
> backed up ranges through the event fd, see commit d723a1617e61
> ("dm/push_backup: add event file descriptor interface"). It does not
> send the push_backup_read and push_backup_write messages anymore.
Item 1: ploop origin/hci-dev test/tests/test_ploop_tg.py,
test_ploop_tg_push_backup_io_should_work_when_backup_started, sends
both through dmsetup message and fails with ENOTSUPP after this patch.
Item 2: the fd exists only since d723a1617e61, so any ploop-backup
built before it still uses these messages. A node updated to this
kernel before ploop-backup breaks backups.
Item 3: the block in pb_message() that clears pb->alive and wakes the
waiters before taking ctl_rwsem came with 20815dd41f13 to kick a
push_backup_read that slept holding ctl_rwsem. Nothing sleeps under it
now, and the block leaves a window where a push_backup_start that comes
in between is torn down by the waiting stop. The argc check then goes
back into the stop branch.
Item 4: the version went up with every interface change before (1.1.0
for the fd, 1.2.0 for fail_on_process_exit); this one removes two
messages. push_backup_write() has a single caller, pb_fd_write(),
which never passes NULL, and pb->nr_clus is read before the check.
--
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-25 11:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 11:29 [Devel] [PATCH hci-8.2 0/3] dm/push_backup: fix two old bugs and remove the unused messages Vasileios Almpanis
2026-11-25 11:29 ` [Devel] [PATCH hci-8.2 1/3] dm/push_backup: reject a cluster size of 0 Vasileios Almpanis
2026-11-25 11:29 ` [Devel] [PATCH hci-8.2 2/3] dm/push_backup: free the bitmaps of an expired session on restart Vasileios Almpanis
2026-11-25 11:47 ` Konstantin Khorenko
2026-11-25 11:29 ` [Devel] [PATCH hci-8.2 3/3] dm/push_backup: remove the push_backup_read and push_backup_write messages Vasileios Almpanis
2026-11-25 11:47 ` Konstantin Khorenko [this message]
2026-11-25 11:47 ` [Devel] [PATCH hci-8.2 0/3] dm/push_backup: fix two old bugs and remove the unused messages 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=179560727089.30071.18022643580330413718.b4-review@b4 \
--to=khorenko@virtuozzo.com \
--cc=den@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 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.