Scroll to navigation

BLK_QUEUE_MAX_SEGMEN(9) Block Devices BLK_QUEUE_MAX_SEGMEN(9)

NAME

blk_queue_max_segments - set max hw segments for a request for this queue

SYNOPSIS

void blk_queue_max_segments(struct request_queue * q, unsigned short max_segments);

ARGUMENTS

struct request_queue * q

the request queue for the device

unsigned short max_segments

max number of segments

DESCRIPTION

Enables a low level driver to set an upper limit on the number of hw data segments in a request.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11