---
name: "blk_queue_hardsect_size"
section: "9"
platform: "linux"
package: "linux-manual-2.6.26"
version: "2.6.26-29"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/blk_queue_hardsect_size"
---

# blk\_queue\_hardsect\_size(9)

set hardware sector size for the queue

## NAME

blk\_queue\_hardsect\_size - set hardware sector size for the queue

## SYNOPSIS

**void blk\_queue\_hardsect\_size(struct request\_queue \*** *q***, unsigned short** *size***);**

## ARGUMENTS

*q*

the request queue for the device

*size*

the hardware sector size, in bytes

## DESCRIPTION

This should typically be set to the lowest possible sector size that the hardware can operate on (possible without reverting to even internal read-modify-write operations). Usually the default of 512 covers most hardware.

## COPYRIGHT
