[pbs-devel] [PATCH proxmox-backup 0/5] add 'sync-level' to datatore tuning options
Dominik Csapak
d.csapak at proxmox.com
Fri May 20 14:42:23 CEST 2022
this series is a successor to my previous RFC for it.[0]
changes from RFC:
* seperate introducing of the option and changing the default
* renaming to DatastoreFSyncLevel
* adding more and better comments + docs
* saving the whole level and not only a bool in the datastore/chunk_store
* adding a fsync on the dir handle for the 'file' case in insert_chunk
* split the change to 'replace_file' into seperate patch
the first patch is mostly unrelated, but it introduces a place where
we can document the option, and could be applied independent from
the remaining patches of this series.
the second patch only changes the use of replace_file in insert_chunk,
so that could also be applied independently.
0: https://lists.proxmox.com/pipermail/pbs-devel/2022-May/005118.html
Dominik Csapak (5):
docs: add information about chunk order option for datastores
pbs-datastore: chunk_store: use replace_file in insert_chunk
datastore: implement sync-level tuning for datastores
docs: add documentation about the 'sync-level' tuning
datastore: make 'filesystem' the default sync-level
docs/storage.rst | 60 +++++++++++++++++++++++++++++
pbs-api-types/src/datastore.rs | 32 ++++++++++++++++
pbs-datastore/src/chunk_store.rs | 66 +++++++++++++++++++++++---------
pbs-datastore/src/datastore.rs | 37 ++++++++++++++++--
src/api2/backup/environment.rs | 2 +
src/api2/config/datastore.rs | 9 ++++-
6 files changed, 181 insertions(+), 25 deletions(-)
--
2.30.2
More information about the pbs-devel
mailing list