]> www.infradead.org Git - users/hch/block.git/commit
dm-writecache: use bvec_kmap_local instead of bvec_kmap_irq
authorChristoph Hellwig <hch@lst.de>
Thu, 20 May 2021 12:08:56 +0000 (14:08 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 23 Jul 2021 05:39:24 +0000 (07:39 +0200)
commitbe21512aa149cf54485d62c14cf97d18964be17e
tree1fa304acc8bd540fdf232cf9db7a060f5d45788a
parentdac3ed8bed714f4240acc817b502c4b4ce1f16a0
dm-writecache: use bvec_kmap_local instead of bvec_kmap_irq

There is no need to disable interrupts in bio_copy_block, and the local
only mappings helps to avoid any sort of problems with stray writes
into the bio data.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
drivers/md/dm-writecache.c