block: add a DMA field to struct bio_vec
authorJens Axboe <axboe@kernel.dk>
Tue, 12 Oct 2021 13:17:44 +0000 (07:17 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 17 Feb 2022 16:42:44 +0000 (09:42 -0700)
commite210fba2d046f6afa4cd04cd17d4f16273759d12
tree7ea6f0e8028d677ac6ec36944c58d3b6e0c30742
parentd4afd69300b1976cd6e2cce405a96d27c7a3512c
block: add a DMA field to struct bio_vec

Allows the caller to pass in a fully prepared bvec that has already
been mapped by the driver. This can save a DMAP map+unmap per IO.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/bvec.h