---
name: "blk_queue_alignment_offset"
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_alignment_offset"
---

# blk\_queue\_alignment\_offset(9)

set physical block alignment offset

## NAME

blk\_queue\_alignment\_offset - set physical block alignment offset

## SYNOPSIS

**void blk\_queue\_alignment\_offset(struct request\_queue \*** *q***, unsigned int** *offset***);**

## ARGUMENTS

*q*

the request queue for the device

*offset*

alignment offset in bytes

## DESCRIPTION

Some devices are naturally misaligned to compensate for things like the legacy DOS partition table 63-sector offset. Low-level drivers should call this function for devices whose first sector is not naturally aligned.

## COPYRIGHT
