diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-06-28 16:07:43 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-29 11:38:02 -0400 |
commit | 6728ac3396265184abe93f18b32aca329981e5ce (patch) | |
tree | 2a080b48ffa15aca48b1b41b0b96a5e5eb8f8610 /Documentation/block | |
parent | 152c7776b9442f2f094da7d81e5a8f345dedb397 (diff) |
block, documentation: Sort queue sysfs attribute names alphabetically
Commit f9824952ee1c ("block: update sysfs documentation") # v5.0 broke the
alphabetical order of the sysfs attribute names. List queue sysfs attribute
names alphabetically.
Cc: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/block')
-rw-r--r-- | Documentation/block/queue-sysfs.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Documentation/block/queue-sysfs.txt b/Documentation/block/queue-sysfs.txt index 3eaf86806621..f6da2efe2105 100644 --- a/Documentation/block/queue-sysfs.txt +++ b/Documentation/block/queue-sysfs.txt | |||
@@ -14,6 +14,15 @@ add_random (RW) | |||
14 | This file allows to turn off the disk entropy contribution. Default | 14 | This file allows to turn off the disk entropy contribution. Default |
15 | value of this file is '1'(on). | 15 | value of this file is '1'(on). |
16 | 16 | ||
17 | chunk_sectors (RO) | ||
18 | ------------------ | ||
19 | This has different meaning depending on the type of the block device. | ||
20 | For a RAID device (dm-raid), chunk_sectors indicates the size in 512B sectors | ||
21 | of the RAID volume stripe segment. For a zoned block device, either host-aware | ||
22 | or host-managed, chunk_sectors indicates the size in 512B sectors of the zones | ||
23 | of the device, with the eventual exception of the last zone of the device which | ||
24 | may be smaller. | ||
25 | |||
17 | dax (RO) | 26 | dax (RO) |
18 | -------- | 27 | -------- |
19 | This file indicates whether the device supports Direct Access (DAX), | 28 | This file indicates whether the device supports Direct Access (DAX), |
@@ -132,6 +141,12 @@ per-block-cgroup request pool. IOW, if there are N block cgroups, | |||
132 | each request queue may have up to N request pools, each independently | 141 | each request queue may have up to N request pools, each independently |
133 | regulated by nr_requests. | 142 | regulated by nr_requests. |
134 | 143 | ||
144 | nr_zones (RO) | ||
145 | ------------- | ||
146 | For zoned block devices (zoned attribute indicating "host-managed" or | ||
147 | "host-aware"), this indicates the total number of zones of the device. | ||
148 | This is always 0 for regular block devices. | ||
149 | |||
135 | optimal_io_size (RO) | 150 | optimal_io_size (RO) |
136 | -------------------- | 151 | -------------------- |
137 | This is the optimal IO size reported by the device. | 152 | This is the optimal IO size reported by the device. |
@@ -213,19 +228,4 @@ devices are described in the ZBC (Zoned Block Commands) and ZAC | |||
213 | do not support zone commands, they will be treated as regular block devices | 228 | do not support zone commands, they will be treated as regular block devices |
214 | and zoned will report "none". | 229 | and zoned will report "none". |
215 | 230 | ||
216 | nr_zones (RO) | ||
217 | ------------- | ||
218 | For zoned block devices (zoned attribute indicating "host-managed" or | ||
219 | "host-aware"), this indicates the total number of zones of the device. | ||
220 | This is always 0 for regular block devices. | ||
221 | |||
222 | chunk_sectors (RO) | ||
223 | ------------------ | ||
224 | This has different meaning depending on the type of the block device. | ||
225 | For a RAID device (dm-raid), chunk_sectors indicates the size in 512B sectors | ||
226 | of the RAID volume stripe segment. For a zoned block device, either host-aware | ||
227 | or host-managed, chunk_sectors indicates the size in 512B sectors of the zones | ||
228 | of the device, with the eventual exception of the last zone of the device which | ||
229 | may be smaller. | ||
230 | |||
231 | Jens Axboe <jens.axboe@oracle.com>, February 2009 | 231 | Jens Axboe <jens.axboe@oracle.com>, February 2009 |