]> git.proxmox.com Git - proxmox-backup.git/commit
api2/tape/drive: add run_drive_worker wrapper
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 18 Feb 2021 14:40:22 +0000 (15:40 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 19 Feb 2021 09:08:27 +0000 (10:08 +0100)
commita44c934b5daa4ec1e4378dd976f475f0b8de227e
tree80eb2790389f904ba416fa54b1362ef957bfbcd2
parent546d2653eef1ba1517375f063d908c3479d5d965
api2/tape/drive: add run_drive_worker wrapper

a wrapper for locking, starting the worker and writing the state

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/api2/tape/drive.rs