From: no-reply@sashiko.virtuozzo.com
To: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>,
Konstantin Khorenko <khorenko@virtuozzo.com>
Cc: Den Lunev <den@virtuozzo.com>, devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 v2 3/3] dm/push_backup: stop the backup when the process that started it exits
Date: Wed, 18 Nov 2026 14:04:04 +0000 [thread overview]
Message-ID: <010701a1eef8c99f-9e3782ac-6a5f-42a0-981e-33a351b0312a-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261118-vstor-153891-v2-3-e91753150b91@virtuozzo.com>
> When ploop-backup dies, the push_backup target does not notice it. The
> writes that wait for a backup stay postponed until the deadline timer
> fires. The timeout is a required argument of push_backup_start, and
> ploop-backup passes 60 seconds by default. During that time every
> writer to the device blocks, and so does every sync() on the host,
> because writeback waits for the postponed requests. We cannot simply
> lower the timeout, because a live ploop-backup can legitimately stall
> on IO for tens of seconds.
>
> Add an optional argument to push_backup_start:
>
> push_backup_start <timeout> <mask|0> fail_on_process_exit
>
> With this argument the target watches the process that sent the
> message. To do that we add our own entry to the pid->wait_pidfd wait
> [ ... ]
>
> Feature: dm-backup: push backup target driver
> Suggested-by: Andrey Zhadchenko <andrey.zhadchenko@virtuozzo.com>
> Reviewed-by: Denis V. Lunev <den@openvz.org>
> Signed-off-by: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261118-vstor-153891-v2-0-e91753150b91@virtuozzo.com?part=3
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-11-18 14:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 13:57 [Devel] [PATCH hci-8.2 v2 0/3] " Vasileios Almpanis
2026-11-18 13:57 ` [Devel] [PATCH hci-8.2 v2 1/3] dm/push_backup: return -EINVAL for malformed target messages Vasileios Almpanis
2026-11-18 14:00 ` no-reply
2026-11-18 13:57 ` [Devel] [PATCH hci-8.2 v2 2/3] dm/push_backup: report expires_in as 0 for an expired session Vasileios Almpanis
2026-11-18 14:00 ` no-reply
2026-11-18 13:57 ` [Devel] [PATCH hci-8.2 v2 3/3] dm/push_backup: stop the backup when the process that started it exits Vasileios Almpanis
2026-11-18 14:04 ` no-reply [this message]
2026-11-18 14:05 ` [Devel] [PATCH hci-8.2 v2 0/3] " Andrey Zhadchenko
2026-11-18 15:20 ` Konstantin Khorenko
2026-11-18 15:20 ` 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=010701a1eef8c99f-9e3782ac-6a5f-42a0-981e-33a351b0312a-000000@eu-central-1.amazonses.com \
--to=no-reply@sashiko.virtuozzo.com \
--cc=den@virtuozzo.com \
--cc=devel@openvz.org \
--cc=khorenko@virtuozzo.com \
--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