cloud-hypervisor/virtio-devices
Rob Bradford b5766028a8 virtio-devices: block: Make latency infinite before first op
Logically until we have handled the first operation the latency is
infinite; this logic was applied to the minimum latency originally but
this patch extends that logic to the maximum and average latency.

To prevent the initial average latency being skewed by the inclusion of
infinity the average value is initally seeded with the first measured
latency.

Fixes: #5704

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
2023-08-31 08:22:07 -07:00
..
src virtio-devices: block: Make latency infinite before first op 2023-08-31 08:22:07 -07:00
Cargo.toml build: Bump serde from 1.0.164 to 1.0.168 2023-08-25 09:53:12 +00:00