Name

blk_limits_io_min — set minimum request size for a device

Synopsis

void blk_limits_io_min (struct queue_limits * limits,
 unsigned int min);
 

Arguments

struct queue_limits * limits

the queue limits

unsigned int min

smallest I/O size in bytes

Description

Some devices have an internal block size bigger than the reported hardware sector size. This function can be used to signal the smallest I/O the device can perform without incurring a performance penalty.