iss-simdisk: use bvec_kmap_local in simdisk_submit_bio
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Mar 2022 11:18:56 +0000 (14:18 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 4 Mar 2022 19:29:20 +0000 (12:29 -0700)
commit143a70b8b4300faa92ad82468f65dccd440e7957
treed79c492462b6f4e1ba78a4087ff9dd9dd8194733
parentc48d8c5c0c40bb2e7c88543ede481c26f6649d14
iss-simdisk: use bvec_kmap_local in simdisk_submit_bio

Using local kmaps slightly reduces the chances to stray writes, and
the bvec interface cleans up the code a little bit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Link: https://lore.kernel.org/r/20220303111905.321089-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/xtensa/platforms/iss/simdisk.c