diff options
author | Eric Biggers <ebiggers@google.com> | 2019-10-22 20:33:11 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-11-14 16:40:45 -0500 |
commit | 31fb992ce675ec3326dfd4db9634480391713db8 (patch) | |
tree | 846219c2af7b9939c6ff12399616799602713f72 /scripts/gdb/linux/proc.py | |
parent | 4d06bfb97ecb0df4f5b057a73db002e28c22c35c (diff) |
fs/buffer.c: support fscrypt in block_read_full_page()
After each filesystem block (as represented by a buffer_head) has been
read from disk by block_read_full_page(), decrypt it if needed. The
decryption is done on the fscrypt_read_workqueue.
This is the final change needed to support ext4 encryption with
blocksize != PAGE_SIZE, and it's a fairly small change now that
CONFIG_FS_ENCRYPTION is a bool and fs/crypto/ exposes functions to
decrypt individual blocks and to enqueue work on the fscrypt workqueue.
Don't try to add fs-verity support yet, as the fs/verity/ support layer
isn't ready for sub-page blocks yet. Just add fscrypt support for now.
Almost all the new code is compiled away when CONFIG_FS_ENCRYPTION=n.
Cc: Chandan Rajendra <chandan@linux.ibm.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20191023033312.361355-2-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions