Skip to content
Commit 59779079 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm crypt: leverage immutable biovecs when decrypting on read



Commit 003b5c57 ("block: Convert drivers to immutable biovecs")
stopped short of changing dm-crypt to leverage the fact that the biovec
array of a bio will no longer be modified.

Switch to using bio_clone_fast() when cloning bios for decryption after
read.

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent e44f23b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment