cam iosched: Enforce iop limits below the quanta value
authorimp <imp@FreeBSD.org>
Fri, 22 Sep 2017 02:36:32 +0000 (02:36 +0000)
committerimp <imp@FreeBSD.org>
Fri, 22 Sep 2017 02:36:32 +0000 (02:36 +0000)
commitaafe805fed497d9b8bc1b523052879feee8ca032
treecf57d1f28f39ba5480af078b9f8693d8d32ed102
parent3c2af9be8d4e8bf1bf512931aa27a08f2cc5b751
cam iosched: Enforce iop limits below the quanta value

Previously the iops limiter would always allow at least
quanta ios per second as cam_iosched_iops_tick() never set
ios->l_value1 below 1.

Submitted by: Fabian Keil <fk@fabiankeil.de>
Obtained from: ElectroBSD
PR: 221974
sys/cam/cam_iosched.c