kern/169765: Patch to rename da_send_ordered to match other sysctls

Steven Hartland steven.hartland at multiplay.co.uk
Tue Jul 10 13:20:10 UTC 2012


>Number:         169765
>Category:       kern
>Synopsis:       Patch to rename da_send_ordered to match other sysctls
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 10 13:20:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Steven Hartland
>Release:        8.3-RELEASE
>Organization:
Multiplay
>Environment:
FreeBSD build 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #3: Tue Jul  3 13:16:31 UTC 2012     root at build:/usr/obj/usr/src/sys/MULTIPLAY  amd64
>Description:
Patch to rename kern.cam.da.da_send_ordered -> kern.cam.da.send_ordered to match all the other da sysctls
>How-To-Repeat:
N/A
>Fix:
Apply the attached patch

Patch attached with submission follows:

Renamed kern.cam.da.da_send_ordered -> kern.cam.da.send_ordered to
match all the other da sysctls
--- sys/cam/scsi/scsi_da.c.orig	2012-07-10 13:07:39.615700131 +0000
+++ sys/cam/scsi/scsi_da.c	2012-03-03 06:15:13.000000000 +0000
@@ -832,9 +832,9 @@
 SYSCTL_INT(_kern_cam_da, OID_AUTO, default_timeout, CTLFLAG_RW,
            &da_default_timeout, 0, "Normal I/O timeout (in seconds)");
 TUNABLE_INT("kern.cam.da.default_timeout", &da_default_timeout);
-SYSCTL_INT(_kern_cam_da, OID_AUTO, send_ordered, CTLFLAG_RW,
+SYSCTL_INT(_kern_cam_da, OID_AUTO, da_send_ordered, CTLFLAG_RW,
            &da_send_ordered, 0, "Send Ordered Tags");
-TUNABLE_INT("kern.cam.da.send_ordered", &da_send_ordered);
+TUNABLE_INT("kern.cam.da.da_send_ordered", &da_send_ordered);
 
 /*
  * DA_ORDEREDTAG_INTERVAL determines how often, relative


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list