---
name: "blk_queue_io_opt"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/blk_queue_io_opt"
---

# blk\_queue\_io\_opt(9)

set optimal request size for the queue

## NAME

blk\_queue\_io\_opt - set optimal request size for the queue

## SYNOPSIS

**void blk\_queue\_io\_opt(struct request\_queue \*** *q***, unsigned int** *opt***);**

## ARGUMENTS

*q*

the request queue for the device

*opt*

optimal request size in bytes

## DESCRIPTION

Storage devices may report an optimal I/O size, which is the device's 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.

## COPYRIGHT
