]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cam_iosched: use tunable flag and make a bool really a bool
authorWarner Losh <imp@FreeBSD.org>
Tue, 13 Jul 2021 06:00:33 +0000 (00:00 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 13 Jul 2021 20:13:21 +0000 (14:13 -0600)
commita065ccb2804fae834a7c66e29b726ea3dbbceace
tree1c51fc8b983ff350b5369d37a50cbdac065a94ee
parent431ddd94360a9e86c91294eaa2c7b859911984b7
cam_iosched: use tunable flag and make a bool really a bool

kern.cam.do_dynamic_iosched is really a bool, so change its type to
bool. While I'm here, also use the CTLFLAG_TUN flag instead of a
separate tunable line for it and kern.cam.iosched_alpha_bits.

MFC After: 1 week
Sponsored by: Netflix
sys/cam/cam_iosched.c