fscrypt / f2fs: prepare I/O path for fs-verity
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesIn review
- v12 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- Define NUM_PREALLOC_POST_READ_CTXS
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fscrypt: allow synchronous bio decryptionfs/ fs/ fs/ +4 more | +45 | 1 reply | |
| 2/2 | f2fs: refactor read path to allow multiple postprocessing stepsfs/ fs/ fs/ +3 more | +147 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Chao Yu |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] fscrypt / f2fs: prepare I/O path for fs-verity
Hello,
These two patches restructure f2fs's read path to allow the data to go through multiple postprocessing steps, rather than just decryption as is implemented currently. This is mainly in preparation for doing authenticity verification of data via fs-verity, though this change might also be useful for other future f2fs features, e.g. compression.
These patches don't yet add the fs-verity work, however, as it depends on the rest of the fs-verity patchset. I'm planning to send the full patchset out as an RFC, but some parts need further investigation first. (The work-in-progress version can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/mhalcrow/linux.git,
branch "fs-verity-dev".)
Changed since v1:
- Define NUM_PREALLOC_POST_READ_CTXS
Eric Biggers (2):
fscrypt: allow synchronous bio decryption
f2fs: refactor read path to allow multiple postprocessing steps
fs/crypto/bio.c | 35 ++++--- fs/crypto/crypto.c | 8 +- fs/crypto/fscrypt_private.h | 1 - fs/ext4/readpage.c | 2 +- fs/f2fs/data.c | 166 ++++++++++++++++++++++++-------- fs/f2fs/f2fs.h | 12 ++- fs/f2fs/file.c | 4 +- fs/f2fs/gc.c | 6 +- fs/f2fs/inline.c | 2 +- fs/f2fs/super.c | 6 ++ include/linux/fscrypt_notsupp.h | 13 ++- include/linux/fscrypt_supp.h | 5 +- 12 files changed, 191 insertions(+), 69 deletions(-)
Signature · 1 line
2.17.0.484.g0c8726318c-goog