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

Commit b73b4853 authored by Michael Halcrow's avatar Michael Halcrow Committed by Sahitya Tummala
Browse files

block: Add bio req flag to disable encryption in block



When lower layers such as dm-crypt observe the REQ_NOENCRYPT flag, it
helps the I/O stack avoid redundant encryption, improving performance
and power utilization.

Note that lower layers must be consistent in their observation of this
flag in order to avoid the possibility of data corruption.

Change-Id: I4805c3b06b3e765d7362d0b360523813ed77b8aa
Signed-off-by: default avatarMichael Halcrow <mhalcrow@google.com>
Git-repo: https://android.googlesource.com/kernel/common/


Git-commit: a0948fba1f34e8fc2b689d6928283b3f64158923
[stummala@codeaurora.org: resolve merge conflicts]
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent edae206c
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