block: add blk_rq_payload_bytes
Add a helper to calculate the actual data transfer size for special payload requests. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Hannes Reinecke <hare@suse.com> Signed-off-by:
Jens Axboe <axboe@fb.com>
Showing
Please register or sign in to comment