block: add a req_bvec helper
authorChristoph Hellwig <hch@lst.de>
Sun, 3 Mar 2019 16:14:01 +0000 (09:14 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 5 Apr 2019 06:07:57 +0000 (08:07 +0200)
commit3aef3cae4342c1d8137a1c0782cbb66f1be3943c
treeb3395af3de378c1cc00c6a85375a8a6dff8146c8
parent39f8e36401142d73e33a954ac4bdf844fb5de9ae
block: add a req_bvec helper

Return the currently active bvec segment, potentially spanning multiple
pages.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
include/linux/blkdev.h