brintos

brintos / linux-shallow public Read only

0
0
Text · 4.1 KiB · 2d543cf Raw
120 lines · plain
1What:		/sys/block/*/device/sw_activity2Date:		Jun, 20083KernelVersion:	v2.6.274Contact:	linux-ide@vger.kernel.org5Description:6		(RW) Used by drivers which support software controlled activity7		LEDs.8 9		It has the following valid values:10 11		==	========================================================12		0	OFF - the LED is not activated on activity13		1	BLINK_ON - the LED blinks on every 10ms when activity is14			detected.15		2	BLINK_OFF - the LED is on when idle, and blinks off16			every 10ms when activity is detected.17		==	========================================================18 19		Note that the user must turn sw_activity OFF it they wish to20		control the activity LED via the em_message file.21 22 23What:		/sys/block/*/device/unload_heads24Date:		Sep, 200825KernelVersion:	v2.6.2826Contact:	linux-ide@vger.kernel.org27Description:28		(RW) Hard disk shock protection29 30		Writing an integer value to this file will take the heads of the31		respective drive off the platter and block all I/O operations32		for the specified number of milliseconds.33 34		- If the device does not support the unload heads feature,35		  access is denied with -EOPNOTSUPP.36		- The maximal value accepted for a timeout is 3000037		  milliseconds.38		- A previously set timeout can be cancelled and disk can resume39		  normal operation immediately by specifying a timeout of 0.40		- Some hard drives only comply with an earlier version of the41		  ATA standard, but support the unload feature nonetheless.42		  There is no safe way Linux can detect these devices, so this43		  is not enabled by default. If it is known that your device44		  does support the unload feature, then you can tell the kernel45		  to enable it by writing -1. It can be disabled again by46		  writing -2.47		- Values below -2 are rejected with -EINVAL48 49		For more information, see50		Documentation/admin-guide/laptops/disk-shock-protection.rst51 52 53What:		/sys/block/*/device/ncq_prio_enable54Date:		Oct, 201655KernelVersion:	v4.1056Contact:	linux-ide@vger.kernel.org57Description:58		(RW) Write to the file to turn on or off the SATA NCQ (native59		command queueing) priority support. By default this feature is60		turned off. If the device does not support the SATA NCQ61		priority feature, writing "1" to this file results in an error62		(see ncq_prio_supported).63 64 65What:		/sys/block/*/device/sas_ncq_prio_enable66Date:		Oct, 201667KernelVersion:	v4.1068Contact:	linux-ide@vger.kernel.org69Description:70		(RW) This is the equivalent of the ncq_prio_enable attribute71		file for SATA devices connected to a SAS host-bus-adapter72		(HBA) implementing support for the SATA NCQ priority feature.73		This file does not exist if the HBA driver does not implement74		support for the SATA NCQ priority feature, regardless of the75		device support for this feature (see sas_ncq_prio_supported).76 77 78What:		/sys/block/*/device/ncq_prio_supported79Date:		Aug, 202180KernelVersion:	v5.1581Contact:	linux-ide@vger.kernel.org82Description:83		(RO) Indicates if the device supports the SATA NCQ (native84		command queueing) priority feature.85 86 87What:		/sys/block/*/device/sas_ncq_prio_supported88Date:		Aug, 202189KernelVersion:	v5.1590Contact:	linux-ide@vger.kernel.org91Description:92		(RO) This is the equivalent of the ncq_prio_supported attribute93		file for SATA devices connected to a SAS host-bus-adapter94		(HBA) implementing support for the SATA NCQ priority feature.95		This file does not exist if the HBA driver does not implement96		support for the SATA NCQ priority feature, regardless of the97		device support for this feature.98 99 100What:		/sys/block/*/device/cdl_supported101Date:		May, 2023102KernelVersion:	v6.5103Contact:	linux-scsi@vger.kernel.org104Description:105		(RO) Indicates if the device supports the command duration106		limits feature found in some ATA and SCSI devices.107 108 109What:		/sys/block/*/device/cdl_enable110Date:		May, 2023111KernelVersion:	v6.5112Contact:	linux-scsi@vger.kernel.org113Description:114		(RW) For a device supporting the command duration limits115		feature, write to the file to turn on or off the feature.116		By default this feature is turned off.117		Writing "1" to this file enables the use of command duration118		limits for read and write commands in the kernel and turns on119		the feature on the device. Writing "0" disables the feature.120