proxmox-backup/proxmox-rrd/src
Dominik Csapak 5c1cabdea1 rrd: use saturating_sub to avoid underflow
Without this, the tests fail in debug mode.
Also having start (u64) underflow to a value greater than end does
not really make sense

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-28 12:54:54 +02:00
..
cache use new fsync parameter to replace_file and atomic_open_or_create 2021-10-21 07:28:32 +02:00
cache.rs proxmox-rrd: use fsync instead of syncfs 2021-10-20 11:46:59 +02:00
lib.rs proxmox-rrd: implement new CBOR based format 2021-10-13 13:36:02 +02:00
rrd.rs rrd: use saturating_sub to avoid underflow 2021-10-28 12:54:54 +02:00
rrd_v1.rs proxmox-rrd: rename last_counter to last_value 2021-10-13 13:36:02 +02:00