1BLK_LIMITS_IO_OPT(9)             Block Devices            BLK_LIMITS_IO_OPT(9)
2
3
4

NAME

6       blk_limits_io_opt - set optimal request size for a device
7

SYNOPSIS

9       void blk_limits_io_opt(struct queue_limits * limits, unsigned int opt);
10

ARGUMENTS

12       limits
13           the queue limits
14
15       opt
16           smallest I/O size in bytes
17

DESCRIPTION

19       Storage devices may report an optimal I/O size, which is the device's
20       preferred unit for sustained I/O. This is rarely reported for disk
21       drives. For RAID arrays it is usually the stripe width or the internal
22       track size. A properly aligned multiple of optimal_io_size is the
23       preferred request size for workloads where sustained throughput is
24       desired.
25
27Kernel Hackers Manual 3.10         June 2019              BLK_LIMITS_IO_OPT(9)
Impressum