From 840713250e54eacd868e90e08dbe9fe9c554068a Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 2 Aug 2017 11:53:23 +0200 Subject: [PATCH 215/325] cam iosched: Include the accepted control type algorithms in the sysctl description ... so the user doesn't have to refer to the source code or the (non-existant) man page. Obtained from: ElectroBSD --- 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 b163abe912d8..9c0cb47e9968 100644 --- a/sys/cam/cam_iosched.c +++ b/sys/cam/cam_iosched.c @@ -1033,7 +1033,7 @@ cam_iosched_cl_sysctl_init(struct cam_iosched_softc *isc) SYSCTL_ADD_PROC(ctx, n, OID_AUTO, "type", CTLTYPE_STRING | CTLFLAG_RW, clp, 0, cam_iosched_control_type_sysctl, "A", - "Control loop algorithm"); + "Control loop algorithm. Can be 'set_max' or 'read_latency'."); SYSCTL_ADD_PROC(ctx, n, OID_AUTO, "steer_interval", CTLTYPE_STRING | CTLFLAG_RW, &clp->steer_interval, 0, cam_iosched_sbintime_sysctl, "A", -- 2.32.0