Set max segment size for blk_rq_map_sg
void blk_queue_max_segment_size(struct request_queue * q, unsigned int max_size);
q
the request queue for the device
max_size
max size of segment in bytes
Enables a low level driver to set an upper limit on the size of a coalesced segment