svn commit: r298026 - head/sys/cam/scsi
John Baldwin
jhb at freebsd.org
Fri Apr 15 23:00:44 UTC 2016
On Friday, April 15, 2016 03:09:58 AM Warner Losh wrote:
> Author: imp
> Date: Fri Apr 15 03:09:58 2016
> New Revision: 298026
> URL: https://svnweb.freebsd.org/changeset/base/298026
>
> Log:
> Use the new TUNABLE_INT64 to match the type of sbintime_t.
This seems odd and possibly broken. The tunable should accept the same
values in the same units as the sysctl (e.g. milliseconds here, not a
64-bit fixed-point sbintime_t). Also, in HEAD if you just add
CTLFLAG_TUN you will get that for free I think (as the sysctl code in
HEAD will parse the integer from the tunable and pass it to your
SYSCTL_PROC handler during boot).
--
John Baldwin
More information about the svn-src-all
mailing list