'\" t .\" Title: blk_queue_logical_block_size .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "BLK_QUEUE_LOGICAL_BL" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "Block Devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" blk_queue_logical_block_size \- set logical block size for the queue .SH "SYNOPSIS" .HP \w'void\ blk_queue_logical_block_size('u .BI "void blk_queue_logical_block_size(struct\ request_queue\ *\ " "q" ", unsigned\ short\ " "size" ");" .SH "ARGUMENTS" .PP \fIstruct request_queue * q\fR .RS 4 the request queue for the device .RE .PP \fIunsigned short size\fR .RS 4 the logical block size, in bytes .RE .SH "DESCRIPTION" .PP This should be set to the lowest possible block size that the storage device can address\&. The default of 512 covers most hardware\&. .SH "COPYRIGHT" .br