Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2019 19:12:17 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354779 - head/sys/conf
Message-ID:  <201911161912.xAGJCHp4071307@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Sat Nov 16 19:12:17 2019
New Revision: 354779
URL: https://svnweb.freebsd.org/changeset/base/354779

Log:
  Actually hook CAM_IO_STATS up to the build
  
  It's still disabled by default, but now it can be enabled with config(5) and
  it will be build in LINT.
  
  Reviewed by:	imp
  MFC after:	1 week
  Sponsored by:	Axcient
  Differential Revision:	https://reviews.freebsd.org/D22383

Modified:
  head/sys/conf/NOTES
  head/sys/conf/options

Modified: head/sys/conf/NOTES
==============================================================================
--- head/sys/conf/NOTES	Sat Nov 16 18:24:28 2019	(r354778)
+++ head/sys/conf/NOTES	Sat Nov 16 19:12:17 2019	(r354779)
@@ -1353,6 +1353,7 @@ device		ctl		#CAM Target Layer
 # CAM_DEBUG_TARGET	Limit debugging to the given target.
 # CAM_DEBUG_LUN		Limit debugging to the given lun.
 # CAM_DEBUG_DELAY	Delay in us after printing each debug line.
+# CAM_IO_STATS		Publish additional CAM device statics by sysctl
 #
 # CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds
 # SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions
@@ -1374,6 +1375,7 @@ options 	SCSI_NO_SENSE_STRINGS
 options 	SCSI_NO_OP_STRINGS
 options 	SCSI_DELAY=5000	# Be pessimistic about Joe SCSI device
 options 	CAM_IOSCHED_DYNAMIC
+options		CAM_IO_STATS
 options		CAM_TEST_FAILURE
 
 # Options for the CAM CDROM driver:

Modified: head/sys/conf/options
==============================================================================
--- head/sys/conf/options	Sat Nov 16 18:24:28 2019	(r354778)
+++ head/sys/conf/options	Sat Nov 16 19:12:17 2019	(r354779)
@@ -349,6 +349,7 @@ CAM_DEBUG_LUN		opt_cam.h
 CAM_DEBUG_FLAGS		opt_cam.h
 CAM_BOOT_DELAY		opt_cam.h
 CAM_IOSCHED_DYNAMIC	opt_cam.h
+CAM_IO_STATS		opt_cam.h
 CAM_TEST_FAILURE	opt_cam.h
 SCSI_DELAY		opt_scsi.h
 SCSI_NO_SENSE_STRINGS	opt_scsi.h



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