proxmox-backup/src
Dominik Csapak 368f4c5416 fix gathering io stats for zpools
if a datastore or root is not used directly on the pool dir
(e.g. the installer creates 2 sub datasets ROOT/pbs-1), info in
/proc/self/mountinfo returns not the pool, but the path to the
dataset, which has no iostats itself in /proc/spl/kstat/zfs/
but only the pool itself

so instead of not gathering data at all, gather the info from the
underlying pool instead. if one has multiple datastores on the same
pool those rrd stats will be the same for all those datastores now
(instead of empty) similar to 'normal' directories

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-04-12 13:35:38 +02:00
..
api2 tape: improve EOT error handling 2021-04-12 13:27:34 +02:00
backup backup info: run rustfmt 2021-03-14 19:18:35 +01:00
bin fix gathering io stats for zpools 2021-04-12 13:35:38 +02:00
client vsock_client: support authorization header 2021-04-01 11:09:28 +02:00
config tape: implement LTO userspace driver 2021-04-08 07:28:30 +02:00
pxar pxar/extract: add sequential variant of extract_sub_dir 2021-04-08 14:24:23 +02:00
rrd clippy: more misc fixes 2021-01-26 09:54:55 +01:00
server enable tape backup by default 2021-04-12 12:31:56 +02:00
tape tape: improve EOT error handling 2021-04-12 13:27:34 +02:00
tools fix gathering io stats for zpools 2021-04-12 13:35:38 +02:00
api2.rs file-restore: add binary and basic commands 2021-04-08 13:57:57 +02:00
auth.rs clippy fixups 2020-10-14 11:20:07 +02:00
auth_helpers.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
backup.rs typo fixes all over the place 2021-03-10 16:39:57 +01:00
buildcfg.rs file-restore: add basic VM/block device support 2021-04-08 14:11:02 +02:00
client.rs client: add VsockClient to connect to virtio-vsock VMs 2021-02-17 08:15:43 +01:00
config.rs tape: add tape backup job configuration 2021-02-14 10:35:51 +01:00
lib.rs tape: add file format definitions 2020-12-05 10:45:08 +01:00
server.rs server/rest: extract auth to seperate module 2021-04-01 11:26:28 +02:00
task.rs introduce TaskState trait 2020-10-12 14:11:57 +02:00
tools.rs add tools/cpio encoding module 2021-04-08 14:10:45 +02:00