aboutsummaryrefslogtreecommitdiff
path: root/sys/cam
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-11-08 21:20:41 +0000
committerWarner Losh <imp@FreeBSD.org>2021-11-08 21:21:08 +0000
commitc048ac620f97f9cf49582437fdc541ed34e86fd8 (patch)
treebe435301a3f0f66b19d8801a9ac67f1e515f7a69 /sys/cam
parentd70ca5b00eede3367ce659a03b2f9cc9729cd0dd (diff)
downloadsrc-c048ac620f97f9cf49582437fdc541ed34e86fd8.tar.gz
src-c048ac620f97f9cf49582437fdc541ed34e86fd8.zip
cam_iosched: Fix a comment
Array elements were added, but this comment wasn't updated. Sponsored by: Netflix
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/cam_iosched.c2
1 files changed, 1 insertions, 1 deletions
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