mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-03 08:33:17 +00:00
tape: save 'bytes used' in tape inventory
and show them on the ui. This can help uses with seeing how much a tape is used. The value is updated on 'commit' and when the tape is changed during a backup. For drives not supporting the volume statistics, this is simply skipped. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
16ac3ef458
commit
8002011f7c
@ -81,6 +81,9 @@ pub struct MediaListEntry {
|
||||
/// Media Pool
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub pool: Option<String>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
/// Bytes currently used
|
||||
pub bytes_used: Option<u64>,
|
||||
}
|
||||
|
||||
#[api(
|
||||
|
Loading…
Reference in New Issue
Block a user