blk_queue_alignment_offset
Prev | Chapter 14. Block Devices | Next

## 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.

Prev | Up | Next
blk_queue_physical_block_size | Home | blk_limits_io_min