Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2012 13:12:22 GMT
From:      Steven Hartland <steven.hartland@multiplay.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/169765: Patch to rename da_send_ordered to match other sysctls
Message-ID:  <201207101312.q6ADCMZS088498@red.freebsd.org>
Resent-Message-ID: <201207101320.q6ADK9ka013282@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207101312.q6ADCMZS088498>