Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2019 00:29:16 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r355434 - stable/12/sys/conf
Message-ID:  <201912060029.xB60TGoc071619@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Fri Dec  6 00:29:16 2019
New Revision: 355434
URL: https://svnweb.freebsd.org/changeset/base/355434

Log:
  MFC r354779:
  
  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
  Sponsored by:	Axcient
  Differential Revision:	https://reviews.freebsd.org/D22383

Modified:
  stable/12/sys/conf/NOTES
  stable/12/sys/conf/options
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/conf/NOTES
==============================================================================
--- stable/12/sys/conf/NOTES	Fri Dec  6 00:27:16 2019	(r355433)
+++ stable/12/sys/conf/NOTES	Fri Dec  6 00:29:16 2019	(r355434)
@@ -1356,6 +1356,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
@@ -1377,6 +1378,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: stable/12/sys/conf/options
==============================================================================
--- stable/12/sys/conf/options	Fri Dec  6 00:27:16 2019	(r355433)
+++ stable/12/sys/conf/options	Fri Dec  6 00:29:16 2019	(r355434)
@@ -346,6 +346,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?201912060029.xB60TGoc071619>