proxmox-backup/pbs-config/src
Dominik Csapak 118deb4db8 pbs-datastore: use ConfigVersionCache for datastore
instead of relying on the content of some configs

previously, we always read and parsed the config file, and only
generated a new config object when the path or the 'verify-new' option
changed.

now, we increase the datastore generation on config save, and if that
changed (or the last load is 1 minute in the past), we always
generate a new object

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-03-01 08:16:27 +01:00
..
network misc clippy fixes 2022-02-08 14:57:16 +01:00
acl.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
cached_user_info.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
config_version_cache.rs pbs-datastore: use ConfigVersionCache for datastore 2022-03-01 08:16:27 +01:00
datastore.rs pbs-datastore: use ConfigVersionCache for datastore 2022-03-01 08:16:27 +01:00
domains.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
drive.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
key_config.rs misc clippy fixes 2022-02-08 14:57:16 +01:00
lib.rs remove pbs-tools/src/sys.rs 2021-11-25 09:01:29 +01:00
media_pool.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
remote.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
sync.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
tape_encryption_keys.rs misc clippy fixes 2022-02-08 14:57:16 +01:00
tape_job.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
token_shadow.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
traffic_control.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
user.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
verify.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00