diff options
author | Satya Tangirala <[email protected]> | 2020-07-02 01:56:06 +0000 |
---|---|---|
committer | Eric Biggers <[email protected]> | 2020-07-08 10:29:43 -0700 |
commit | 27aacd28ea3b891d1cdc7a9c726e2237f7d3701f (patch) | |
tree | e409a2b7f35431720f61c5c29d84c3647435455e /tools/testing/selftests/bpf/prog_tests | |
parent | 5fee36095cda45d34555aed3a2e8973b80cd6bf8 (diff) |
f2fs: add inline encryption support
Wire up f2fs to support inline encryption via the helper functions which
fs/crypto/ now provides. This includes:
- Adding a mount option 'inlinecrypt' which enables inline encryption
on encrypted files where it can be used.
- Setting the bio_crypt_ctx on bios that will be submitted to an
inline-encrypted file.
- Not adding logically discontiguous data to bios that will be submitted
to an inline-encrypted file.
- Not doing filesystem-layer crypto on inline-encrypted files.
This patch includes a fix for a race during IPU by
Sahitya Tummala <[email protected]>
Signed-off-by: Satya Tangirala <[email protected]>
Acked-by: Jaegeuk Kim <[email protected]>
Reviewed-by: Eric Biggers <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Co-developed-by: Eric Biggers <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions