Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: update tunable options in block/cfq-iosched.txt

Update tunable options in block/cfq-iosched.txt.

Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Namjae Jeon and committed by
Jens Axboe
4004e90c 2792d871

+64
+64
Documentation/block/queue-sysfs.txt
··· 9 9 Files denoted with a RO postfix are readonly and the RW postfix means 10 10 read-write. 11 11 12 + add_random (RW) 13 + ---------------- 14 + This file allows to trun off the disk entropy contribution. Default 15 + value of this file is '1'(on). 16 + 17 + discard_granularity (RO) 18 + ----------------------- 19 + This shows the size of internal allocation of the device in bytes, if 20 + reported by the device. A value of '0' means device does not support 21 + the discard functionality. 22 + 23 + discard_max_bytes (RO) 24 + ---------------------- 25 + Devices that support discard functionality may have internal limits on 26 + the number of bytes that can be trimmed or unmapped in a single operation. 27 + The discard_max_bytes parameter is set by the device driver to the maximum 28 + number of bytes that can be discarded in a single operation. Discard 29 + requests issued to the device must not exceed this limit. A discard_max_bytes 30 + value of 0 means that the device does not support discard functionality. 31 + 32 + discard_zeroes_data (RO) 33 + ------------------------ 34 + When read, this file will show if the discarded block are zeroed by the 35 + device or not. If its value is '1' the blocks are zeroed otherwise not. 36 + 12 37 hw_sector_size (RO) 13 38 ------------------- 14 39 This is the hardware sector size of the device, in bytes. 15 40 41 + iostats (RW) 42 + ------------- 43 + This file is used to control (on/off) the iostats accounting of the 44 + disk. 45 + 46 + logical_block_size (RO) 47 + ----------------------- 48 + This is the logcal block size of the device, in bytes. 49 + 16 50 max_hw_sectors_kb (RO) 17 51 ---------------------- 18 52 This is the maximum number of kilobytes supported in a single data transfer. 53 + 54 + max_integrity_segments (RO) 55 + --------------------------- 56 + When read, this file shows the max limit of integrity segments as 57 + set by block layer which a hardware controller can handle. 19 58 20 59 max_sectors_kb (RW) 21 60 ------------------- 22 61 This is the maximum number of kilobytes that the block layer will allow 23 62 for a filesystem request. Must be smaller than or equal to the maximum 24 63 size allowed by the hardware. 64 + 65 + max_segments (RO) 66 + ----------------- 67 + Maximum number of segments of the device. 68 + 69 + max_segment_size (RO) 70 + --------------------- 71 + Maximum segment size of the device. 72 + 73 + minimum_io_size (RO) 74 + -------------------- 75 + This is the smallest preferred io size reported by the device. 25 76 26 77 nomerges (RW) 27 78 ------------- ··· 96 45 each request queue may have upto N request pools, each independently 97 46 regulated by nr_requests. 98 47 48 + optimal_io_size (RO) 49 + -------------------- 50 + This is the optimal io size reported by the device. 51 + 52 + physical_block_size (RO) 53 + ------------------------ 54 + This is the physical block size of device, in bytes. 55 + 99 56 read_ahead_kb (RW) 100 57 ------------------ 101 58 Maximum number of kilobytes to read-ahead for filesystems on this block 102 59 device. 60 + 61 + rotational (RW) 62 + --------------- 63 + This file is used to stat if the device is of rotational type or 64 + non-rotational type. 103 65 104 66 rq_affinity (RW) 105 67 ----------------