diff options
author | Eric Biggers <ebiggers@google.com> | 2022-12-23 12:36:37 -0800 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2023-01-09 19:06:09 -0800 |
commit | 4fa512ce70515ac0d59e30a4b7ae0888b117d8a2 (patch) | |
tree | b82c27984d1aad27209f8380cd9ce0dccb45dd58 /Documentation/filesystems | |
parent | feb0576a361aacaf12c49e66d32e293a0f3a2e64 (diff) |
fs/buffer.c: support fsverity in block_read_full_folio()
After each filesystem block (as represented by a buffer_head) has been
read from disk by block_read_full_folio(), verify it if needed. The
verification is done on the fsverity_read_workqueue. Also allow reads
of verity metadata past i_size, as required by ext4.
This is needed to support fsverity on ext4 filesystems where the
filesystem block size is less than the page size.
The new code is compiled away when CONFIG_FS_VERITY=n.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Tested-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://lore.kernel.org/r/20221223203638.41293-11-ebiggers@kernel.org
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions