proxmox-backup/pbs-datastore/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
..
backup_info.rs misc clippy fixes 2022-02-08 14:57:16 +01:00
cached_chunk_reader.rs use io_format_err, io_bail, io_err_other from proxmox-lang 2022-02-21 14:24:13 +01:00
catalog.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
checksum_reader.rs pbs-tools: drop borrow module 2021-10-13 14:14:03 +02:00
checksum_writer.rs pbs-tools: drop borrow module 2021-10-13 14:14:03 +02:00
chunk_stat.rs move chunk_stat, read_chunk to pbs-datastore 2021-07-09 10:40:14 +02:00
chunk_store.rs update to proxmox-sys 0.2 crate 2021-11-24 10:32:27 +01:00
chunker.rs add pbs-datastore module 2021-07-06 15:11:52 +02:00
crypt_reader.rs moved key_derivation.rs from pbs_datastore to pbs-config/src/key_config.rs 2021-09-07 10:12:17 +02:00
crypt_writer.rs update to proxmox-sys 0.2 crate 2021-11-24 10:32:27 +01:00
data_blob_reader.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
data_blob_writer.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
data_blob.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
datastore.rs pbs-datastore: use ConfigVersionCache for datastore 2022-03-01 08:16:27 +01:00
dynamic_index.rs misc clippy fixes 2022-02-08 14:57:16 +01:00
file_formats.rs add pbs-datastore module 2021-07-06 15:11:52 +02:00
fixed_index.rs update to proxmox-sys 0.2 crate 2021-11-24 10:32:27 +01:00
index.rs add pbs-datastore module 2021-07-06 15:11:52 +02:00
lib.rs move src/backup/read_chunk.rs to pbs-datastore/src/local_chunk_reader.rs 2021-09-27 11:10:14 +02:00
local_chunk_reader.rs move src/backup/read_chunk.rs to pbs-datastore/src/local_chunk_reader.rs 2021-09-27 11:10:14 +02:00
manifest.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
paperkey.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
prune.rs tree-wide: fix needless borrows 2021-12-30 13:55:33 +01:00
read_chunk.rs move chunk_stat, read_chunk to pbs-datastore 2021-07-09 10:40:14 +02:00
snapshot_reader.rs tape/pool_writer: skip already backed up chunks in iterator 2022-02-18 10:40:41 +01:00
store_progress.rs move more api types for the client 2021-07-09 15:17:53 +02:00