Set max hw segments for a request for this queue
void blk_queue_max_segments(struct request_queue * q, unsigned short max_segments);
q
the request queue for the device
max_segments
max number of segments
Enables a low level driver to set an upper limit on the number of hw data segments in a request.