1. NAME

blk_queue_io_opt - set optimal request size for the queue

2. SYNOPSIS

void blk_queue_io_opt(struct request_queue *  q , unsigned int  opt );

3. ARGUMENTS

q
    the request queue for the device

opt
    optimal request size in bytes

4. DESCRIPTION

Storage devices may report an optimal I/O size, which is the deviceAqs preferred unit for sustained I/O. This is rarely reported for disk drives. For RAID arrays it is usually the stripe width or the internal track size. A properly aligned multiple of optimal_io_size is the preferred request size for workloads where sustained throughput is desired.

5. COPYRIGHT