diff options
author | Christoph Hellwig <hch@lst.de> | 2021-07-27 07:56:38 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-02 13:37:27 -0600 |
commit | 18a6234ccf0661401f07b6316a25d4adbba1d4bd (patch) | |
tree | 90d358e668d19231898ba0e39112cf81d2fa6cca /kernel/task_work.c | |
parent | 732022b86a37e816718786ce0b2cebc2b1739fa3 (diff) |
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>
Link: https://lore.kernel.org/r/20210727055646.118787-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions