---
name: "blk_queue_chunk_sectors"
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_chunk_sectors"
---

# blk\_queue\_chunk\_sectors(9)

set size of the chunk for this queue

## NAME

blk\_queue\_chunk\_sectors - set size of the chunk for this queue

## SYNOPSIS

**void blk\_queue\_chunk\_sectors(struct request\_queue \*** *q***, unsigned int** *chunk\_sectors***);**

## ARGUMENTS

*q*

the request queue for the device

*chunk\_sectors*

chunk sectors in the usual 512b unit

## DESCRIPTION

If a driver doesn't want IOs to cross a given chunk size, it can set this limit and prevent merging across chunks. Note that the chunk size must currently be a power-of-2 in sectors. Also note that the block layer must accept a page worth of data at any offset. So if the crossing of chunks is a hard limitation in the driver, it must still be prepared to split single page bios.

## COPYRIGHT
