[Devel] [PATCH hci-8.2 v2 0/3] dm/push_backup: stop the backup when the process that started it exits
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Nov 18 18:20:32 MSK 2026
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
More information about the Devel
mailing list