All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] fscrypt / f2fs: prepare I/O path for fs-verity
@ 2018-04-16 19:31 ` Eric Biggers via Linux-f2fs-devel
  0 siblings, 0 replies; 24+ messages in thread
From: Eric Biggers @ 2018-04-16 19:31 UTC (permalink / raw)
  To: linux-f2fs-devel, Jaegeuk Kim
  Cc: linux-fscrypt, Theodore Y . Ts'o, Michael Halcrow,
	Victor Hsieh, Eric Biggers

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".)

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                  | 163 ++++++++++++++++++++++++--------
 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, 188 insertions(+), 69 deletions(-)

-- 
2.17.0.484.g0c8726318c-goog


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2018-04-19 14:41 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-16 19:31 [PATCH 0/2] fscrypt / f2fs: prepare I/O path for fs-verity Eric Biggers
2018-04-16 19:31 ` Eric Biggers via Linux-f2fs-devel
2018-04-16 19:31 ` [PATCH 1/2] fscrypt: allow synchronous bio decryption Eric Biggers
2018-04-16 19:31   ` Eric Biggers via Linux-f2fs-devel
2018-04-18  4:22   ` Jaegeuk Kim
2018-04-18  4:22     ` Jaegeuk Kim
2018-04-16 19:31 ` [PATCH 2/2] f2fs: refactor read path to allow multiple postprocessing steps Eric Biggers
2018-04-16 19:31   ` Eric Biggers via Linux-f2fs-devel
2018-04-16 22:15   ` Michael Halcrow
2018-04-16 22:15     ` Michael Halcrow via Linux-f2fs-devel
2018-04-17 17:31     ` Eric Biggers
2018-04-17 17:31       ` Eric Biggers via Linux-f2fs-devel
2018-04-17  9:13   ` [f2fs-dev] " Chao Yu
2018-04-17  9:13     ` Chao Yu
2018-04-17 17:42     ` [f2fs-dev] " Eric Biggers
2018-04-17 17:42       ` Eric Biggers via Linux-f2fs-devel
2018-04-18  6:27       ` [f2fs-dev] " Chao Yu
2018-04-18  6:27         ` Chao Yu
2018-04-18 17:18         ` [f2fs-dev] " Eric Biggers
2018-04-18 17:18           ` Eric Biggers via Linux-f2fs-devel
2018-04-18 17:37           ` [f2fs-dev] " Jaegeuk Kim
2018-04-18 17:37             ` Jaegeuk Kim
2018-04-19 14:41           ` [f2fs-dev] " Chao Yu
2018-04-19 14:41             ` Chao Yu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.