Linux-Fsdevel Archive on lore.kernel.org
help / color / mirror / Atom feed
* [RFC PATCH 0/8] Ext4 encryption support for blocksize < pagesize
@ 2018-01-12 14:11 Chandan Rajendra
  2018-01-12 14:11 ` [RFC PATCH 1/8] ext4: use EXT4_INODE_ENCRYPT flag to detect encrypted bio Chandan Rajendra
                   ` (9 more replies)
  0 siblings, 10 replies; 27+ messages in thread
From: Chandan Rajendra @ 2018-01-12 14:11 UTC (permalink / raw)
  To: linux-ext4; +Cc: Chandan Rajendra, linux-fsdevel, tytso

This patchset implements code to support encryption of Ext4 filesystem
instances that have blocksize less than pagesize. The patchset has
been tested on both ppc64 and x86_64 machines.

This patchset changes the prototype of the function
fscrypt_encrypt_page(). I will make the relevant changes to the rest
of the filesystems (e.g. f2fs) and post them in the next version of
the patchset.

Chandan Rajendra (8):
  ext4: use EXT4_INODE_ENCRYPT flag to detect encrypted bio
  fs/buffer.c: make some functions non-static
  ext4: decrypt all contiguous blocks in a page
  ext4: decrypt all boundary blocks when doing buffered write
  ext4: decrypt the block that needs to be partially zeroed
  ext4: encrypt blocks whose size is less than page size
  ext4: decrypt blocks whose size is less than page size
  ext4: enable encryption for blocksize less than page size

 fs/buffer.c                     |   6 +-
 fs/crypto/bio.c                 |  25 +++-
 fs/crypto/crypto.c              |  80 ++++++++----
 fs/ext4/inode.c                 |  32 +++--
 fs/ext4/page-io.c               |  58 ++++++---
 fs/ext4/readpage.c              | 275 +++++++++++++++++++++++++++++++++++++++-
 fs/ext4/super.c                 |   9 +-
 include/linux/buffer_head.h     |   4 +
 include/linux/fscrypt.h         |   1 +
 include/linux/fscrypt_notsupp.h |  19 +--
 include/linux/fscrypt_supp.h    |  14 +-
 11 files changed, 436 insertions(+), 87 deletions(-)

-- 
2.9.5

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

end of thread, other threads:[~2018-01-17 13:42 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-12 14:11 [RFC PATCH 0/8] Ext4 encryption support for blocksize < pagesize Chandan Rajendra
2018-01-12 14:11 ` [RFC PATCH 1/8] ext4: use EXT4_INODE_ENCRYPT flag to detect encrypted bio Chandan Rajendra
2018-01-12 19:04   ` Randy Dunlap
2018-01-13  5:22     ` Chandan Rajendra
2018-01-12 14:11 ` [RFC PATCH 2/8] fs/buffer.c: make some functions non-static Chandan Rajendra
2018-01-12 14:38   ` Matthew Wilcox
2018-01-13  5:25     ` Chandan Rajendra
2018-01-17  2:14   ` Eric Biggers
2018-01-12 14:11 ` [RFC PATCH 3/8] ext4: decrypt all contiguous blocks in a page Chandan Rajendra
2018-01-17  2:18   ` Eric Biggers
2018-01-12 14:11 ` [RFC PATCH 4/8] ext4: decrypt all boundary blocks when doing buffered write Chandan Rajendra
2018-01-17  2:22   ` Eric Biggers
2018-01-12 14:11 ` [RFC PATCH 5/8] ext4: decrypt the block that needs to be partially zeroed Chandan Rajendra
2018-01-17  2:23   ` Eric Biggers
2018-01-12 14:11 ` [RFC PATCH 6/8] ext4: encrypt blocks whose size is less than page size Chandan Rajendra
2018-01-17  2:33   ` Eric Biggers
2018-01-12 14:11 ` [RFC PATCH 7/8] ext4: decrypt " Chandan Rajendra
2018-01-17  2:39   ` Eric Biggers
2018-01-12 14:11 ` [RFC PATCH 8/8] ext4: enable encryption for blocksize " Chandan Rajendra
2018-01-17  2:40   ` Eric Biggers
2018-01-17 13:42     ` Chandan Rajendra
2018-01-12 19:07 ` [RFC PATCH 0/8] Ext4 encryption support for blocksize < pagesize Randy Dunlap
2018-01-13  5:28   ` Chandan Rajendra
2018-01-13 12:48     ` Matthew Wilcox
2018-01-13 18:20       ` Randy Dunlap
2018-01-17  2:10 ` Eric Biggers
2018-01-17 13:43   ` Chandan Rajendra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).