From 03fee4ccfc9a8054c4f505488ab460110bca19a7 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 2 Aug 2017 11:53:23 +0200 Subject: [PATCH 192/310] 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 15c2ee312830..1b70971c0a2e 100644 --- a/sys/cam/cam_iosched.c +++ b/sys/cam/cam_iosched.c @@ -1067,7 +1067,7 @@ cam_iosched_cl_sysctl_init(struct cam_iosched_softc *isc) OID_AUTO, "type", CTLTYPE_STRING | CTLFLAG_RW | CTLFLAG_MPSAFE, 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 | CTLFLAG_MPSAFE, -- 2.37.1