[GIT PULL] fsverity updates for 5.6

From: Eric Biggers
Date: Mon Jan 27 2020 - 20:49:59 EST


The following changes since commit fd6988496e79a6a4bdb514a4655d2920209eb85d:

Linux 5.5-rc4 (2019-12-29 15:29:16 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fsverity-for-linus

for you to fetch changes up to da3a3da4e6c68459618a1043dcb12b450312a4e2:

fs-verity: use u64_to_user_ptr() (2020-01-14 13:28:28 -0800)

----------------------------------------------------------------

- Optimize fs-verity sequential read performance by implementing
readahead of Merkle tree pages. This allows the Merkle tree to be
read in larger chunks.

- Optimize FS_IOC_ENABLE_VERITY performance in the uncached case by
implementing readahead of data pages.

- Allocate the hash requests from a mempool in order to eliminate the
possibility of allocation failures during I/O.

----------------------------------------------------------------
Eric Biggers (4):
fs-verity: implement readahead for FS_IOC_ENABLE_VERITY
fs-verity: implement readahead of Merkle tree pages
fs-verity: use mempool for hash requests
fs-verity: use u64_to_user_ptr()

fs/ext4/verity.c | 47 ++++++++++++++++++++-
fs/f2fs/data.c | 2 +-
fs/f2fs/f2fs.h | 3 ++
fs/f2fs/verity.c | 47 ++++++++++++++++++++-
fs/verity/enable.c | 67 +++++++++++++++++++++++-------
fs/verity/fsverity_private.h | 17 +++++---
fs/verity/hash_algs.c | 98 +++++++++++++++++++++++++++++++++-----------
fs/verity/open.c | 5 ++-
fs/verity/verify.c | 47 ++++++++++++++-------
include/linux/fsverity.h | 7 +++-
10 files changed, 273 insertions(+), 67 deletions(-)