All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>
Cc: Den Lunev <den@virtuozzo.com>, devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 v2 0/3] dm/push_backup: stop the backup when the process that started it exits
Date: Wed, 18 Nov 2026 16:20:32 +0100	[thread overview]
Message-ID: <179501523212.1085329.1966287018749951514.b4-ty@b4> (raw)
In-Reply-To: <20261118-vstor-153891-v2-0-e91753150b91@virtuozzo.com>

On Wed, 18 Nov 2026 13:57:26 +0000, Vasileios Almpanis wrote:
> dm/push_backup: stop the backup when the process that started it exits
> 
> When ploop-backup dies, the writes to the device and every sync() on
> the host stay blocked until the push_backup deadline timer fires. The
> last patch adds the fail_on_process_exit argument to
> push_backup_start, so that the session expires as soon as the process
> that started it exits. As discussed with Andrey, we hook to
> pid->wait_pidfd instead of counting the open event fds as proposed in
> the ticket, because the fd is bound to the target and not to a backup
> session. ploop-backup needs a separate change to pass the new argument
> when the target version is 1.2.0 or later.
> 
> [...]

Applied to branch-rh10-6.12.0-211.75.1.26.x.vz10-ovz, will be released in rh10-6.12.0-211.75.1.26.3.vz10, thanks!

[1/3] dm/push_backup: return -EINVAL for malformed target messages
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/c0b8c84e0375
[2/3] dm/push_backup: report expires_in as 0 for an expired session
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/f4fd0825035a
[3/3] dm/push_backup: stop the backup when the process that started it exits
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/a7157e0fbf94

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team


_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

      parent reply	other threads:[~2026-11-18 15:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18 13:57 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
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 [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=179501523212.1085329.1966287018749951514.b4-ty@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.