blk_queue_logical_block_size
Prev | Chapter 14. Block Devices | Next

## Name

blk_queue_logical_block_size — set logical block size for the queue

## Synopsis

`void blk_queue_logical_block_size (` | struct request_queue * q,
| unsigned short size`)`;

## Arguments

`q`

  the request queue for the device

`size`

  the logical block size, in bytes

## Description

This should be set to the lowest possible block size that the storage device can address. The default of 512 covers most hardware.

Prev | Up | Next
blk_queue_max_segment_size | Home | blk_queue_physical_block_size