Commit 31a6bc52 authored by Sarthak Kukreti's avatar Sarthak Kukreti Committed by Hubert Mazur
Browse files

CHROMIUM: fs: Introduce passthrough attribute for blk-crypto



Introduce attribute for blk-crypto passthrough. Setting this attribute
will allow files to skip the blk-crypto layer.

BUG=b:376100765, b:376099411
UPSTREAM-TASK=b:391902360
TEST=USE=default_key_stateful, add /mnt/stateful_partition/unencrypted
    1. write to /mnt/stateful_partition/unencrypted/a.txt
    2. filefrag -v a.txt to get extents
    3. hexdump -C -n 100 --skip <extent start> /dev/nvme0n1p1
    4. Validate contents have been passed through

Change-Id: I622696656924da27951c0d6fd1ce9f276e997c1a
Signed-off-by: default avatarSarthak Kukreti <sarthakkukreti@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/6195232


Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Reviewed-by: default avatarGwendal Grignou <gwendal@chromium.org>
Signed-off-by: default avatarHubert Mazur <hmazur@google.com>
parent dd538e26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment