Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2c92743 authored by Mike Snitzer's avatar Mike Snitzer Committed by Alex Shi
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>
(cherry picked from commit 5977907937afa2b5584a874d44ba6c0f56aeaa9c)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent 9ca6d6e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment