git: c048ac620f97 - main - cam_iosched: Fix a comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Nov 2021 21:21:37 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=c048ac620f97f9cf49582437fdc541ed34e86fd8
commit c048ac620f97f9cf49582437fdc541ed34e86fd8
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-11-08 21:20:41 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-11-08 21:21:08 +0000
cam_iosched: Fix a comment
Array elements were added, but this comment wasn't updated.
Sponsored by: Netflix
---
sys/cam/cam_iosched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/cam/cam_iosched.c b/sys/cam/cam_iosched.c
index 98ae98bc1d80..928e8095ef01 100644
--- a/sys/cam/cam_iosched.c
+++ b/sys/cam/cam_iosched.c
@@ -1823,7 +1823,7 @@ cam_iosched_update(struct iop_stats *iop, sbintime_t sim_latency)
}
}
if (i == LAT_BUCKETS - 1)
- iop->latencies[i]++; /* Put all > 1024ms values into the last bucket. */
+ iop->latencies[i]++; /* Put all > 8192ms values into the last bucket. */
/*
* Classic exponentially decaying average with a tiny alpha