]> git.baikalelectronics.ru Git - kernel.git/commit
block: add blk_rq_payload_bytes
authorChristoph Hellwig <hch@lst.de>
Fri, 13 Jan 2017 11:29:10 +0000 (12:29 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 13 Jan 2017 22:17:04 +0000 (15:17 -0700)
commit82dc35c374232c17ee2e357af7154b4a09bf1a58
treefd42995d3a8f5f5cf9106629e85d4144d9379a74
parent2f88f03d3472c34698c7f32dedd0c80d84bc8a61
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>
include/linux/blkdev.h