~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-block-device

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-block-device (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-block-device (Version linux-5.5.19)


  1 What:           /sys/block/*/device/sw_activit      1 What:           /sys/block/*/device/sw_activity
  2 Date:           Jun, 2008                           2 Date:           Jun, 2008
  3 KernelVersion:  v2.6.27                             3 KernelVersion:  v2.6.27
  4 Contact:        linux-ide@vger.kernel.org           4 Contact:        linux-ide@vger.kernel.org
  5 Description:                                        5 Description:
  6                 (RW) Used by drivers which sup      6                 (RW) Used by drivers which support software controlled activity
  7                 LEDs.                               7                 LEDs.
  8                                                     8 
  9                 It has the following valid val      9                 It has the following valid values:
 10                                                    10 
 11                 ==      ====================== << 
 12                 0       OFF - the LED is not a     11                 0       OFF - the LED is not activated on activity
 13                 1       BLINK_ON - the LED bli     12                 1       BLINK_ON - the LED blinks on every 10ms when activity is
 14                         detected.                  13                         detected.
 15                 2       BLINK_OFF - the LED is     14                 2       BLINK_OFF - the LED is on when idle, and blinks off
 16                         every 10ms when activi     15                         every 10ms when activity is detected.
 17                 ==      ====================== << 
 18                                                    16 
 19                 Note that the user must turn s     17                 Note that the user must turn sw_activity OFF it they wish to
 20                 control the activity LED via t     18                 control the activity LED via the em_message file.
 21                                                    19 
 22                                                    20 
 23 What:           /sys/block/*/device/unload_hea     21 What:           /sys/block/*/device/unload_heads
 24 Date:           Sep, 2008                          22 Date:           Sep, 2008
 25 KernelVersion:  v2.6.28                            23 KernelVersion:  v2.6.28
 26 Contact:        linux-ide@vger.kernel.org          24 Contact:        linux-ide@vger.kernel.org
 27 Description:                                       25 Description:
 28                 (RW) Hard disk shock protectio     26                 (RW) Hard disk shock protection
 29                                                    27 
 30                 Writing an integer value to th     28                 Writing an integer value to this file will take the heads of the
 31                 respective drive off the platt     29                 respective drive off the platter and block all I/O operations
 32                 for the specified number of mi     30                 for the specified number of milliseconds.
 33                                                    31 
 34                 - If the device does not suppo     32                 - If the device does not support the unload heads feature,
 35                   access is denied with -EOPNO     33                   access is denied with -EOPNOTSUPP.
 36                 - The maximal value accepted f     34                 - The maximal value accepted for a timeout is 30000
 37                   milliseconds.                    35                   milliseconds.
 38                 - A previously set timeout can     36                 - A previously set timeout can be cancelled and disk can resume
 39                   normal operation immediately     37                   normal operation immediately by specifying a timeout of 0.
 40                 - Some hard drives only comply     38                 - Some hard drives only comply with an earlier version of the
 41                   ATA standard, but support th     39                   ATA standard, but support the unload feature nonetheless.
 42                   There is no safe way Linux c     40                   There is no safe way Linux can detect these devices, so this
 43                   is not enabled by default. I     41                   is not enabled by default. If it is known that your device
 44                   does support the unload feat     42                   does support the unload feature, then you can tell the kernel
 45                   to enable it by writing -1.      43                   to enable it by writing -1. It can be disabled again by
 46                   writing -2.                      44                   writing -2.
 47                 - Values below -2 are rejected     45                 - Values below -2 are rejected with -EINVAL
 48                                                    46 
 49                 For more information, see          47                 For more information, see
 50                 Documentation/admin-guide/lapt     48                 Documentation/admin-guide/laptops/disk-shock-protection.rst
 51                                                    49 
 52                                                    50 
 53 What:           /sys/block/*/device/ncq_prio_e     51 What:           /sys/block/*/device/ncq_prio_enable
 54 Date:           Oct, 2016                          52 Date:           Oct, 2016
 55 KernelVersion:  v4.10                              53 KernelVersion:  v4.10
 56 Contact:        linux-ide@vger.kernel.org          54 Contact:        linux-ide@vger.kernel.org
 57 Description:                                       55 Description:
 58                 (RW) Write to the file to turn !!  56                 (RW) Write to the file to turn on or off the SATA ncq (native
 59                 command queueing) priority sup !!  57                 command queueing) support. By default this feature is turned
 60                 turned off. If the device does !!  58                 off.
 61                 priority feature, writing "1"  << 
 62                 (see ncq_prio_supported).      << 
 63                                                << 
 64                                                << 
 65 What:           /sys/block/*/device/sas_ncq_pr << 
 66 Date:           Oct, 2016                      << 
 67 KernelVersion:  v4.10                          << 
 68 Contact:        linux-ide@vger.kernel.org      << 
 69 Description:                                   << 
 70                 (RW) This is the equivalent of << 
 71                 file for SATA devices connecte << 
 72                 (HBA) implementing support for << 
 73                 This file does not exist if th << 
 74                 support for the SATA NCQ prior << 
 75                 device support for this featur << 
 76                                                << 
 77                                                << 
 78 What:           /sys/block/*/device/ncq_prio_s << 
 79 Date:           Aug, 2021                      << 
 80 KernelVersion:  v5.15                          << 
 81 Contact:        linux-ide@vger.kernel.org      << 
 82 Description:                                   << 
 83                 (RO) Indicates if the device s << 
 84                 command queueing) priority fea << 
 85                                                << 
 86                                                << 
 87 What:           /sys/block/*/device/sas_ncq_pr << 
 88 Date:           Aug, 2021                      << 
 89 KernelVersion:  v5.15                          << 
 90 Contact:        linux-ide@vger.kernel.org      << 
 91 Description:                                   << 
 92                 (RO) This is the equivalent of << 
 93                 file for SATA devices connecte << 
 94                 (HBA) implementing support for << 
 95                 This file does not exist if th << 
 96                 support for the SATA NCQ prior << 
 97                 device support for this featur << 
 98                                                << 
 99                                                << 
100 What:           /sys/block/*/device/cdl_suppor << 
101 Date:           May, 2023                      << 
102 KernelVersion:  v6.5                           << 
103 Contact:        linux-scsi@vger.kernel.org     << 
104 Description:                                   << 
105                 (RO) Indicates if the device s << 
106                 limits feature found in some A << 
107                                                << 
108                                                << 
109 What:           /sys/block/*/device/cdl_enable << 
110 Date:           May, 2023                      << 
111 KernelVersion:  v6.5                           << 
112 Contact:        linux-scsi@vger.kernel.org     << 
113 Description:                                   << 
114                 (RW) For a device supporting t << 
115                 feature, write to the file to  << 
116                 By default this feature is tur << 
117                 Writing "1" to this file enabl << 
118                 limits for read and write comm << 
119                 the feature on the device. Wri << 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php