pbs-datastore: add active operations tracking
Saves the currently active read/write operation counts in a file. The file is updated whenever a reference returned by lookup_datastore is dropped and whenever a reference is returned by lookup_datastore. The files are locked before every access, there is one file per datastore. Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
e9d2fc9362
commit
4bc84a6549
@ -75,6 +75,7 @@ async fn run() -> Result<(), Error> {
|
||||
|
||||
proxmox_backup::server::create_run_dir()?;
|
||||
proxmox_backup::server::create_state_dir()?;
|
||||
proxmox_backup::server::create_active_operations_dir()?;
|
||||
proxmox_backup::server::jobstate::create_jobstate_dir()?;
|
||||
proxmox_backup::tape::create_tape_status_dir()?;
|
||||
proxmox_backup::tape::create_drive_state_dir()?;
|
||||
|
Reference in New Issue
Block a user