]> git.proxmox.com Git - proxmox-backup.git/commit
tape: add functions to parse drive device activity
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 13 May 2024 10:49:23 +0000 (12:49 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 14 May 2024 08:11:06 +0000 (10:11 +0200)
commit3f1a084b906d0402a9e792bed33155f9b6ffcad1
treeb11ff7d59e138f6a59acaabc077ca9cc39428e64
parent4b21a0074473a801d363d6766c1410fa71697e07
tape: add functions to parse drive device activity

we use the VHF part from the DT Device Activity page for that.
This is intended to query the drive for it's current state and activity.

Currently only the activity is parsed and used.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
pbs-api-types/src/tape/drive.rs
pbs-tape/src/sg_tape.rs
pbs-tape/src/sg_tape/device_status.rs [new file with mode: 0644]
pbs-tape/src/sg_tape/volume_statistics.rs