commit | 5977907937afa2b5584a874d44ba6c0f56aeaa9c | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Thu Apr 09 16:53:24 2015 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Wed Apr 15 12:10:25 2015 -0400 |
tree | 804a59300745efce20cacd1a79fbff035bf409ab | |
parent | e44f23b32dc7916b2bc12817e2f723fefa21ba41 [diff] |
dm crypt: leverage immutable biovecs when decrypting on read Commit 003b5c571 ("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: Mike Snitzer <snitzer@redhat.com>