git: ce89c8f47a91 - main - cam/iosched: Initialize max_lat
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Oct 2025 22:27:20 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=ce89c8f47a91f76b2fdeb1fdb504fd637ce93047
commit ce89c8f47a91f76b2fdeb1fdb504fd637ce93047
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-10-07 22:20:14 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-10-07 22:20:55 +0000
cam/iosched: Initialize max_lat
Sponsored by: Netflix
---
sys/cam/cam_iosched.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/cam/cam_iosched.c b/sys/cam/cam_iosched.c
index a7b7eb3cc4e9..d50522d331fa 100644
--- a/sys/cam/cam_iosched.c
+++ b/sys/cam/cam_iosched.c
@@ -864,6 +864,7 @@ cam_iosched_iop_stats_init(struct cam_iosched_softc *isc, struct iop_stats *ios)
ios->ema = 0;
ios->emvar = 0;
ios->bad_latency = SBT_1S / 2; /* Default to 500ms */
+ ios->max_lat = 0;
ios->softc = isc;
cam_iosched_limiter_init(ios);
}