---
name: "blk_queue_logical_block_size"
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_logical_block_size"
---

# blk\_queue\_logical\_block\_size(9)

set logical block size for the queue

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

## COPYRIGHT
