1*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/stat 2*ae7a7a53SEric BiggersDate: February 2008 3*ae7a7a53SEric BiggersContact: Jerome Marchand <jmarchan@redhat.com> 4*ae7a7a53SEric BiggersDescription: 5*ae7a7a53SEric Biggers The /sys/block/<disk>/stat files displays the I/O 6*ae7a7a53SEric Biggers statistics of disk <disk>. They contain 11 fields: 7*ae7a7a53SEric Biggers 8*ae7a7a53SEric Biggers == ============================================== 9*ae7a7a53SEric Biggers 1 reads completed successfully 10*ae7a7a53SEric Biggers 2 reads merged 11*ae7a7a53SEric Biggers 3 sectors read 12*ae7a7a53SEric Biggers 4 time spent reading (ms) 13*ae7a7a53SEric Biggers 5 writes completed 14*ae7a7a53SEric Biggers 6 writes merged 15*ae7a7a53SEric Biggers 7 sectors written 16*ae7a7a53SEric Biggers 8 time spent writing (ms) 17*ae7a7a53SEric Biggers 9 I/Os currently in progress 18*ae7a7a53SEric Biggers 10 time spent doing I/Os (ms) 19*ae7a7a53SEric Biggers 11 weighted time spent doing I/Os (ms) 20*ae7a7a53SEric Biggers 12 discards completed 21*ae7a7a53SEric Biggers 13 discards merged 22*ae7a7a53SEric Biggers 14 sectors discarded 23*ae7a7a53SEric Biggers 15 time spent discarding (ms) 24*ae7a7a53SEric Biggers 16 flush requests completed 25*ae7a7a53SEric Biggers 17 time spent flushing (ms) 26*ae7a7a53SEric Biggers == ============================================== 27*ae7a7a53SEric Biggers 28*ae7a7a53SEric Biggers For more details refer Documentation/admin-guide/iostats.rst 29*ae7a7a53SEric Biggers 30*ae7a7a53SEric Biggers 31*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/inflight 32*ae7a7a53SEric BiggersDate: October 2009 33*ae7a7a53SEric BiggersContact: Jens Axboe <axboe@kernel.dk>, Nikanth Karthikesan <knikanth@suse.de> 34*ae7a7a53SEric BiggersDescription: 35*ae7a7a53SEric Biggers Reports the number of I/O requests currently in progress 36*ae7a7a53SEric Biggers (pending / in flight) in a device driver. This can be less 37*ae7a7a53SEric Biggers than the number of requests queued in the block device queue. 38*ae7a7a53SEric Biggers The report contains 2 fields: one for read requests 39*ae7a7a53SEric Biggers and one for write requests. 40*ae7a7a53SEric Biggers The value type is unsigned int. 41*ae7a7a53SEric Biggers Cf. Documentation/block/stat.rst which contains a single value for 42*ae7a7a53SEric Biggers requests in flight. 43*ae7a7a53SEric Biggers This is related to nr_requests in Documentation/block/queue-sysfs.rst 44*ae7a7a53SEric Biggers and for SCSI device also its queue_depth. 45*ae7a7a53SEric Biggers 46*ae7a7a53SEric Biggers 47*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/diskseq 48*ae7a7a53SEric BiggersDate: February 2021 49*ae7a7a53SEric BiggersContact: Matteo Croce <mcroce@microsoft.com> 50*ae7a7a53SEric BiggersDescription: 51*ae7a7a53SEric Biggers The /sys/block/<disk>/diskseq files reports the disk 52*ae7a7a53SEric Biggers sequence number, which is a monotonically increasing 53*ae7a7a53SEric Biggers number assigned to every drive. 54*ae7a7a53SEric Biggers Some devices, like the loop device, refresh such number 55*ae7a7a53SEric Biggers every time the backing file is changed. 56*ae7a7a53SEric Biggers The value type is 64 bit unsigned. 57*ae7a7a53SEric Biggers 58*ae7a7a53SEric Biggers 59*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/<part>/stat 60*ae7a7a53SEric BiggersDate: February 2008 61*ae7a7a53SEric BiggersContact: Jerome Marchand <jmarchan@redhat.com> 62*ae7a7a53SEric BiggersDescription: 63*ae7a7a53SEric Biggers The /sys/block/<disk>/<part>/stat files display the 64*ae7a7a53SEric Biggers I/O statistics of partition <part>. The format is the 65*ae7a7a53SEric Biggers same as the above-written /sys/block/<disk>/stat 66*ae7a7a53SEric Biggers format. 67*ae7a7a53SEric Biggers 68*ae7a7a53SEric Biggers 69*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/integrity/format 70*ae7a7a53SEric BiggersDate: June 2008 71*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 72*ae7a7a53SEric BiggersDescription: 73*ae7a7a53SEric Biggers Metadata format for integrity capable block device. 74*ae7a7a53SEric Biggers E.g. T10-DIF-TYPE1-CRC. 75*ae7a7a53SEric Biggers 76*ae7a7a53SEric Biggers 77*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/integrity/read_verify 78*ae7a7a53SEric BiggersDate: June 2008 79*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 80*ae7a7a53SEric BiggersDescription: 81*ae7a7a53SEric Biggers Indicates whether the block layer should verify the 82*ae7a7a53SEric Biggers integrity of read requests serviced by devices that 83*ae7a7a53SEric Biggers support sending integrity metadata. 84*ae7a7a53SEric Biggers 85*ae7a7a53SEric Biggers 86*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/integrity/tag_size 87*ae7a7a53SEric BiggersDate: June 2008 88*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 89*ae7a7a53SEric BiggersDescription: 90*ae7a7a53SEric Biggers Number of bytes of integrity tag space available per 91*ae7a7a53SEric Biggers 512 bytes of data. 92*ae7a7a53SEric Biggers 93*ae7a7a53SEric Biggers 94*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/integrity/device_is_integrity_capable 95*ae7a7a53SEric BiggersDate: July 2014 96*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 97*ae7a7a53SEric BiggersDescription: 98*ae7a7a53SEric Biggers Indicates whether a storage device is capable of storing 99*ae7a7a53SEric Biggers integrity metadata. Set if the device is T10 PI-capable. 100*ae7a7a53SEric Biggers 101*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/integrity/protection_interval_bytes 102*ae7a7a53SEric BiggersDate: July 2015 103*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 104*ae7a7a53SEric BiggersDescription: 105*ae7a7a53SEric Biggers Describes the number of data bytes which are protected 106*ae7a7a53SEric Biggers by one integrity tuple. Typically the device's logical 107*ae7a7a53SEric Biggers block size. 108*ae7a7a53SEric Biggers 109*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/integrity/write_generate 110*ae7a7a53SEric BiggersDate: June 2008 111*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 112*ae7a7a53SEric BiggersDescription: 113*ae7a7a53SEric Biggers Indicates whether the block layer should automatically 114*ae7a7a53SEric Biggers generate checksums for write requests bound for 115*ae7a7a53SEric Biggers devices that support receiving integrity metadata. 116*ae7a7a53SEric Biggers 117*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/alignment_offset 118*ae7a7a53SEric BiggersDate: April 2009 119*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 120*ae7a7a53SEric BiggersDescription: 121*ae7a7a53SEric Biggers Storage devices may report a physical block size that is 122*ae7a7a53SEric Biggers bigger than the logical block size (for instance a drive 123*ae7a7a53SEric Biggers with 4KB physical sectors exposing 512-byte logical 124*ae7a7a53SEric Biggers blocks to the operating system). This parameter 125*ae7a7a53SEric Biggers indicates how many bytes the beginning of the device is 126*ae7a7a53SEric Biggers offset from the disk's natural alignment. 127*ae7a7a53SEric Biggers 128*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/<partition>/alignment_offset 129*ae7a7a53SEric BiggersDate: April 2009 130*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 131*ae7a7a53SEric BiggersDescription: 132*ae7a7a53SEric Biggers Storage devices may report a physical block size that is 133*ae7a7a53SEric Biggers bigger than the logical block size (for instance a drive 134*ae7a7a53SEric Biggers with 4KB physical sectors exposing 512-byte logical 135*ae7a7a53SEric Biggers blocks to the operating system). This parameter 136*ae7a7a53SEric Biggers indicates how many bytes the beginning of the partition 137*ae7a7a53SEric Biggers is offset from the disk's natural alignment. 138*ae7a7a53SEric Biggers 139*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/logical_block_size 140*ae7a7a53SEric BiggersDate: May 2009 141*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 142*ae7a7a53SEric BiggersDescription: 143*ae7a7a53SEric Biggers This is the smallest unit the storage device can 144*ae7a7a53SEric Biggers address. It is typically 512 bytes. 145*ae7a7a53SEric Biggers 146*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/physical_block_size 147*ae7a7a53SEric BiggersDate: May 2009 148*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 149*ae7a7a53SEric BiggersDescription: 150*ae7a7a53SEric Biggers This is the smallest unit a physical storage device can 151*ae7a7a53SEric Biggers write atomically. It is usually the same as the logical 152*ae7a7a53SEric Biggers block size but may be bigger. One example is SATA 153*ae7a7a53SEric Biggers drives with 4KB sectors that expose a 512-byte logical 154*ae7a7a53SEric Biggers block size to the operating system. For stacked block 155*ae7a7a53SEric Biggers devices the physical_block_size variable contains the 156*ae7a7a53SEric Biggers maximum physical_block_size of the component devices. 157*ae7a7a53SEric Biggers 158*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/minimum_io_size 159*ae7a7a53SEric BiggersDate: April 2009 160*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 161*ae7a7a53SEric BiggersDescription: 162*ae7a7a53SEric Biggers Storage devices may report a granularity or preferred 163*ae7a7a53SEric Biggers minimum I/O size which is the smallest request the 164*ae7a7a53SEric Biggers device can perform without incurring a performance 165*ae7a7a53SEric Biggers penalty. For disk drives this is often the physical 166*ae7a7a53SEric Biggers block size. For RAID arrays it is often the stripe 167*ae7a7a53SEric Biggers chunk size. A properly aligned multiple of 168*ae7a7a53SEric Biggers minimum_io_size is the preferred request size for 169*ae7a7a53SEric Biggers workloads where a high number of I/O operations is 170*ae7a7a53SEric Biggers desired. 171*ae7a7a53SEric Biggers 172*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/optimal_io_size 173*ae7a7a53SEric BiggersDate: April 2009 174*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 175*ae7a7a53SEric BiggersDescription: 176*ae7a7a53SEric Biggers Storage devices may report an optimal I/O size, which is 177*ae7a7a53SEric Biggers the device's preferred unit for sustained I/O. This is 178*ae7a7a53SEric Biggers rarely reported for disk drives. For RAID arrays it is 179*ae7a7a53SEric Biggers usually the stripe width or the internal track size. A 180*ae7a7a53SEric Biggers properly aligned multiple of optimal_io_size is the 181*ae7a7a53SEric Biggers preferred request size for workloads where sustained 182*ae7a7a53SEric Biggers throughput is desired. If no optimal I/O size is 183*ae7a7a53SEric Biggers reported this file contains 0. 184*ae7a7a53SEric Biggers 185*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/nomerges 186*ae7a7a53SEric BiggersDate: January 2010 187*ae7a7a53SEric BiggersContact: 188*ae7a7a53SEric BiggersDescription: 189*ae7a7a53SEric Biggers Standard I/O elevator operations include attempts to 190*ae7a7a53SEric Biggers merge contiguous I/Os. For known random I/O loads these 191*ae7a7a53SEric Biggers attempts will always fail and result in extra cycles 192*ae7a7a53SEric Biggers being spent in the kernel. This allows one to turn off 193*ae7a7a53SEric Biggers this behavior on one of two ways: When set to 1, complex 194*ae7a7a53SEric Biggers merge checks are disabled, but the simple one-shot merges 195*ae7a7a53SEric Biggers with the previous I/O request are enabled. When set to 2, 196*ae7a7a53SEric Biggers all merge tries are disabled. The default value is 0 - 197*ae7a7a53SEric Biggers which enables all types of merge tries. 198*ae7a7a53SEric Biggers 199*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/discard_alignment 200*ae7a7a53SEric BiggersDate: May 2011 201*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 202*ae7a7a53SEric BiggersDescription: 203*ae7a7a53SEric Biggers Devices that support discard functionality may 204*ae7a7a53SEric Biggers internally allocate space in units that are bigger than 205*ae7a7a53SEric Biggers the exported logical block size. The discard_alignment 206*ae7a7a53SEric Biggers parameter indicates how many bytes the beginning of the 207*ae7a7a53SEric Biggers device is offset from the internal allocation unit's 208*ae7a7a53SEric Biggers natural alignment. 209*ae7a7a53SEric Biggers 210*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/<partition>/discard_alignment 211*ae7a7a53SEric BiggersDate: May 2011 212*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 213*ae7a7a53SEric BiggersDescription: 214*ae7a7a53SEric Biggers Devices that support discard functionality may 215*ae7a7a53SEric Biggers internally allocate space in units that are bigger than 216*ae7a7a53SEric Biggers the exported logical block size. The discard_alignment 217*ae7a7a53SEric Biggers parameter indicates how many bytes the beginning of the 218*ae7a7a53SEric Biggers partition is offset from the internal allocation unit's 219*ae7a7a53SEric Biggers natural alignment. 220*ae7a7a53SEric Biggers 221*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/discard_granularity 222*ae7a7a53SEric BiggersDate: May 2011 223*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 224*ae7a7a53SEric BiggersDescription: 225*ae7a7a53SEric Biggers Devices that support discard functionality may 226*ae7a7a53SEric Biggers internally allocate space using units that are bigger 227*ae7a7a53SEric Biggers than the logical block size. The discard_granularity 228*ae7a7a53SEric Biggers parameter indicates the size of the internal allocation 229*ae7a7a53SEric Biggers unit in bytes if reported by the device. Otherwise the 230*ae7a7a53SEric Biggers discard_granularity will be set to match the device's 231*ae7a7a53SEric Biggers physical block size. A discard_granularity of 0 means 232*ae7a7a53SEric Biggers that the device does not support discard functionality. 233*ae7a7a53SEric Biggers 234*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/discard_max_bytes 235*ae7a7a53SEric BiggersDate: May 2011 236*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 237*ae7a7a53SEric BiggersDescription: 238*ae7a7a53SEric Biggers Devices that support discard functionality may have 239*ae7a7a53SEric Biggers internal limits on the number of bytes that can be 240*ae7a7a53SEric Biggers trimmed or unmapped in a single operation. Some storage 241*ae7a7a53SEric Biggers protocols also have inherent limits on the number of 242*ae7a7a53SEric Biggers blocks that can be described in a single command. The 243*ae7a7a53SEric Biggers discard_max_bytes parameter is set by the device driver 244*ae7a7a53SEric Biggers to the maximum number of bytes that can be discarded in 245*ae7a7a53SEric Biggers a single operation. Discard requests issued to the 246*ae7a7a53SEric Biggers device must not exceed this limit. A discard_max_bytes 247*ae7a7a53SEric Biggers value of 0 means that the device does not support 248*ae7a7a53SEric Biggers discard functionality. 249*ae7a7a53SEric Biggers 250*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/discard_zeroes_data 251*ae7a7a53SEric BiggersDate: May 2011 252*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 253*ae7a7a53SEric BiggersDescription: 254*ae7a7a53SEric Biggers Will always return 0. Don't rely on any specific behavior 255*ae7a7a53SEric Biggers for discards, and don't read this file. 256*ae7a7a53SEric Biggers 257*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/write_same_max_bytes 258*ae7a7a53SEric BiggersDate: January 2012 259*ae7a7a53SEric BiggersContact: Martin K. Petersen <martin.petersen@oracle.com> 260*ae7a7a53SEric BiggersDescription: 261*ae7a7a53SEric Biggers Some devices support a write same operation in which a 262*ae7a7a53SEric Biggers single data block can be written to a range of several 263*ae7a7a53SEric Biggers contiguous blocks on storage. This can be used to wipe 264*ae7a7a53SEric Biggers areas on disk or to initialize drives in a RAID 265*ae7a7a53SEric Biggers configuration. write_same_max_bytes indicates how many 266*ae7a7a53SEric Biggers bytes can be written in a single write same command. If 267*ae7a7a53SEric Biggers write_same_max_bytes is 0, write same is not supported 268*ae7a7a53SEric Biggers by the device. 269*ae7a7a53SEric Biggers 270*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/write_zeroes_max_bytes 271*ae7a7a53SEric BiggersDate: November 2016 272*ae7a7a53SEric BiggersContact: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> 273*ae7a7a53SEric BiggersDescription: 274*ae7a7a53SEric Biggers Devices that support write zeroes operation in which a 275*ae7a7a53SEric Biggers single request can be issued to zero out the range of 276*ae7a7a53SEric Biggers contiguous blocks on storage without having any payload 277*ae7a7a53SEric Biggers in the request. This can be used to optimize writing zeroes 278*ae7a7a53SEric Biggers to the devices. write_zeroes_max_bytes indicates how many 279*ae7a7a53SEric Biggers bytes can be written in a single write zeroes command. If 280*ae7a7a53SEric Biggers write_zeroes_max_bytes is 0, write zeroes is not supported 281*ae7a7a53SEric Biggers by the device. 282*ae7a7a53SEric Biggers 283*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/zoned 284*ae7a7a53SEric BiggersDate: September 2016 285*ae7a7a53SEric BiggersContact: Damien Le Moal <damien.lemoal@wdc.com> 286*ae7a7a53SEric BiggersDescription: 287*ae7a7a53SEric Biggers zoned indicates if the device is a zoned block device 288*ae7a7a53SEric Biggers and the zone model of the device if it is indeed zoned. 289*ae7a7a53SEric Biggers The possible values indicated by zoned are "none" for 290*ae7a7a53SEric Biggers regular block devices and "host-aware" or "host-managed" 291*ae7a7a53SEric Biggers for zoned block devices. The characteristics of 292*ae7a7a53SEric Biggers host-aware and host-managed zoned block devices are 293*ae7a7a53SEric Biggers described in the ZBC (Zoned Block Commands) and ZAC 294*ae7a7a53SEric Biggers (Zoned Device ATA Command Set) standards. These standards 295*ae7a7a53SEric Biggers also define the "drive-managed" zone model. However, 296*ae7a7a53SEric Biggers since drive-managed zoned block devices do not support 297*ae7a7a53SEric Biggers zone commands, they will be treated as regular block 298*ae7a7a53SEric Biggers devices and zoned will report "none". 299*ae7a7a53SEric Biggers 300*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/nr_zones 301*ae7a7a53SEric BiggersDate: November 2018 302*ae7a7a53SEric BiggersContact: Damien Le Moal <damien.lemoal@wdc.com> 303*ae7a7a53SEric BiggersDescription: 304*ae7a7a53SEric Biggers nr_zones indicates the total number of zones of a zoned block 305*ae7a7a53SEric Biggers device ("host-aware" or "host-managed" zone model). For regular 306*ae7a7a53SEric Biggers block devices, the value is always 0. 307*ae7a7a53SEric Biggers 308*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/max_active_zones 309*ae7a7a53SEric BiggersDate: July 2020 310*ae7a7a53SEric BiggersContact: Niklas Cassel <niklas.cassel@wdc.com> 311*ae7a7a53SEric BiggersDescription: 312*ae7a7a53SEric Biggers For zoned block devices (zoned attribute indicating 313*ae7a7a53SEric Biggers "host-managed" or "host-aware"), the sum of zones belonging to 314*ae7a7a53SEric Biggers any of the zone states: EXPLICIT OPEN, IMPLICIT OPEN or CLOSED, 315*ae7a7a53SEric Biggers is limited by this value. If this value is 0, there is no limit. 316*ae7a7a53SEric Biggers 317*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/max_open_zones 318*ae7a7a53SEric BiggersDate: July 2020 319*ae7a7a53SEric BiggersContact: Niklas Cassel <niklas.cassel@wdc.com> 320*ae7a7a53SEric BiggersDescription: 321*ae7a7a53SEric Biggers For zoned block devices (zoned attribute indicating 322*ae7a7a53SEric Biggers "host-managed" or "host-aware"), the sum of zones belonging to 323*ae7a7a53SEric Biggers any of the zone states: EXPLICIT OPEN or IMPLICIT OPEN, 324*ae7a7a53SEric Biggers is limited by this value. If this value is 0, there is no limit. 325*ae7a7a53SEric Biggers 326*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/chunk_sectors 327*ae7a7a53SEric BiggersDate: September 2016 328*ae7a7a53SEric BiggersContact: Hannes Reinecke <hare@suse.com> 329*ae7a7a53SEric BiggersDescription: 330*ae7a7a53SEric Biggers chunk_sectors has different meaning depending on the type 331*ae7a7a53SEric Biggers of the disk. For a RAID device (dm-raid), chunk_sectors 332*ae7a7a53SEric Biggers indicates the size in 512B sectors of the RAID volume 333*ae7a7a53SEric Biggers stripe segment. For a zoned block device, either 334*ae7a7a53SEric Biggers host-aware or host-managed, chunk_sectors indicates the 335*ae7a7a53SEric Biggers size in 512B sectors of the zones of the device, with 336*ae7a7a53SEric Biggers the eventual exception of the last zone of the device 337*ae7a7a53SEric Biggers which may be smaller. 338*ae7a7a53SEric Biggers 339*ae7a7a53SEric BiggersWhat: /sys/block/<disk>/queue/io_timeout 340*ae7a7a53SEric BiggersDate: November 2018 341*ae7a7a53SEric BiggersContact: Weiping Zhang <zhangweiping@didiglobal.com> 342*ae7a7a53SEric BiggersDescription: 343*ae7a7a53SEric Biggers io_timeout is the request timeout in milliseconds. If a request 344*ae7a7a53SEric Biggers does not complete in this time then the block driver timeout 345*ae7a7a53SEric Biggers handler is invoked. That timeout handler can decide to retry 346*ae7a7a53SEric Biggers the request, to fail it or to start a device recovery strategy. 347