Name

blk_queue_dma_pad — set pad mask

Synopsis

void blk_queue_dma_pad (struct request_queue *  q,
 unsigned int  mask);

Arguments

q

the request queue for the device

mask

pad mask

Description

Set pad mask. Direct IO requests are padded to the mask specified.

Appending pad buffer to a request modifies ->data_len such that it includes the pad buffer. The original requested data length can be obtained using blk_rq_raw_data_len.