[Devel] [PATCH rh7 0/2] ploop: implement push_backup auto destroy

Maxim Patlasov mpatlasov at virtuozzo.com
Tue May 10 16:15:21 PDT 2016


If backup tool dies or is killed, we cannot continue push_backup anyway
(because next instance of backup tool runtime won't know which blocks to
push_backup). So, it's useless to keep in-kernel push_backup state after
userspace part disappeared.

The patch set implements auto-destroy: ploop detects when userspace goes
away, then aborts and releases in-kernel push_backup.

---

Maxim Patlasov (2):
      ploop: push_backup: factor out destroy
      ploop: push_backup: implement auto destroy


 drivers/block/ploop/dev.c         |   14 ++------------
 drivers/block/ploop/push_backup.c |   22 ++++++++++++++++++++++
 drivers/block/ploop/push_backup.h |    2 ++
 3 files changed, 26 insertions(+), 12 deletions(-)

--
Signature


More information about the Devel mailing list