From: Satya Tangirala <satyat@google.com> To: linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-ext4@vger.kernel.org Cc: Satya Tangirala <satyat@google.com> Subject: [PATCH 0/4] Inline Encryption Support for fscrypt Date: Wed, 17 Jun 2020 07:57:28 +0000 [thread overview] Message-ID: <20200617075732.213198-1-satyat@google.com> (raw) This patch series adds support for Inline Encryption to fscrypt, f2fs and ext4. It builds on the inline encryption support now present in the block layer, and has been rebased on v5.8-rc1. Patch 1 introduces the SB_INLINECRYPT sb options, which filesystems should set if they want to use blk-crypto for file content en/decryption. Patch 2 adds inline encryption support to fscrypt. To use inline encryption with fscrypt, the filesystem must set the above mentioned SB_INLINECRYPT sb option. When this option is set, the contents of encrypted files will be en/decrypted using blk-crypto. Patches 3 and 4 wire up f2fs and ext4 respectively to fscrypt support for inline encryption, and e.g ensure that bios are submitted with blocks that not only are contiguous, but also have contiguous DUNs. Eric Biggers (1): ext4: add inline encryption support Satya Tangirala (3): fs: introduce SB_INLINECRYPT fscrypt: add inline encryption support f2fs: add inline encryption support Documentation/admin-guide/ext4.rst | 6 + Documentation/filesystems/f2fs.rst | 7 +- fs/buffer.c | 7 +- fs/crypto/Kconfig | 6 + fs/crypto/Makefile | 1 + fs/crypto/bio.c | 50 +++++ fs/crypto/crypto.c | 2 +- fs/crypto/fname.c | 4 +- fs/crypto/fscrypt_private.h | 118 +++++++++- fs/crypto/inline_crypt.c | 349 +++++++++++++++++++++++++++++ fs/crypto/keyring.c | 6 +- fs/crypto/keysetup.c | 68 ++++-- fs/crypto/keysetup_v1.c | 16 +- fs/ext4/inode.c | 4 +- fs/ext4/page-io.c | 6 +- fs/ext4/readpage.c | 11 +- fs/ext4/super.c | 9 + fs/f2fs/compress.c | 2 +- fs/f2fs/data.c | 81 +++++-- fs/f2fs/super.c | 32 +++ fs/proc_namespace.c | 1 + include/linux/fs.h | 1 + include/linux/fscrypt.h | 82 +++++++ 23 files changed, 794 insertions(+), 75 deletions(-) create mode 100644 fs/crypto/inline_crypt.c -- 2.27.0.290.gba653c62da-goog
WARNING: multiple messages have this Message-ID (diff)
From: Satya Tangirala via Linux-f2fs-devel <linux-f2fs-devel@lists.sourceforge.net> To: linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-ext4@vger.kernel.org Cc: Satya Tangirala <satyat@google.com> Subject: [f2fs-dev] [PATCH 0/4] Inline Encryption Support for fscrypt Date: Wed, 17 Jun 2020 07:57:28 +0000 [thread overview] Message-ID: <20200617075732.213198-1-satyat@google.com> (raw) This patch series adds support for Inline Encryption to fscrypt, f2fs and ext4. It builds on the inline encryption support now present in the block layer, and has been rebased on v5.8-rc1. Patch 1 introduces the SB_INLINECRYPT sb options, which filesystems should set if they want to use blk-crypto for file content en/decryption. Patch 2 adds inline encryption support to fscrypt. To use inline encryption with fscrypt, the filesystem must set the above mentioned SB_INLINECRYPT sb option. When this option is set, the contents of encrypted files will be en/decrypted using blk-crypto. Patches 3 and 4 wire up f2fs and ext4 respectively to fscrypt support for inline encryption, and e.g ensure that bios are submitted with blocks that not only are contiguous, but also have contiguous DUNs. Eric Biggers (1): ext4: add inline encryption support Satya Tangirala (3): fs: introduce SB_INLINECRYPT fscrypt: add inline encryption support f2fs: add inline encryption support Documentation/admin-guide/ext4.rst | 6 + Documentation/filesystems/f2fs.rst | 7 +- fs/buffer.c | 7 +- fs/crypto/Kconfig | 6 + fs/crypto/Makefile | 1 + fs/crypto/bio.c | 50 +++++ fs/crypto/crypto.c | 2 +- fs/crypto/fname.c | 4 +- fs/crypto/fscrypt_private.h | 118 +++++++++- fs/crypto/inline_crypt.c | 349 +++++++++++++++++++++++++++++ fs/crypto/keyring.c | 6 +- fs/crypto/keysetup.c | 68 ++++-- fs/crypto/keysetup_v1.c | 16 +- fs/ext4/inode.c | 4 +- fs/ext4/page-io.c | 6 +- fs/ext4/readpage.c | 11 +- fs/ext4/super.c | 9 + fs/f2fs/compress.c | 2 +- fs/f2fs/data.c | 81 +++++-- fs/f2fs/super.c | 32 +++ fs/proc_namespace.c | 1 + include/linux/fs.h | 1 + include/linux/fscrypt.h | 82 +++++++ 23 files changed, 794 insertions(+), 75 deletions(-) create mode 100644 fs/crypto/inline_crypt.c -- 2.27.0.290.gba653c62da-goog _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
next reply other threads:[~2020-06-17 7:57 UTC|newest] Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-17 7:57 Satya Tangirala [this message] 2020-06-17 7:57 ` [f2fs-dev] [PATCH 0/4] Inline Encryption Support for fscrypt Satya Tangirala via Linux-f2fs-devel 2020-06-17 7:57 ` [PATCH 1/4] fs: introduce SB_INLINECRYPT Satya Tangirala 2020-06-17 7:57 ` [f2fs-dev] " Satya Tangirala via Linux-f2fs-devel 2020-06-17 17:46 ` Jaegeuk Kim 2020-06-17 17:46 ` [f2fs-dev] " Jaegeuk Kim 2020-06-18 1:19 ` Dave Chinner 2020-06-18 1:19 ` [f2fs-dev] " Dave Chinner 2020-06-18 3:19 ` Eric Biggers 2020-06-18 3:19 ` [f2fs-dev] " Eric Biggers 2020-06-23 0:46 ` Dave Chinner 2020-06-23 0:46 ` [f2fs-dev] " Dave Chinner 2020-06-23 1:50 ` Eric Biggers 2020-06-23 1:50 ` Eric Biggers 2020-06-24 0:55 ` Dave Chinner 2020-06-24 0:55 ` Dave Chinner 2020-06-17 7:57 ` [PATCH 2/4] fscrypt: add inline encryption support Satya Tangirala 2020-06-17 7:57 ` [f2fs-dev] " Satya Tangirala via Linux-f2fs-devel 2020-06-17 17:59 ` Jaegeuk Kim 2020-06-17 17:59 ` [f2fs-dev] " Jaegeuk Kim 2020-06-18 17:48 ` Eric Biggers 2020-06-18 17:48 ` [f2fs-dev] " Eric Biggers 2020-06-17 7:57 ` [PATCH 3/4] f2fs: " Satya Tangirala 2020-06-17 7:57 ` [f2fs-dev] " Satya Tangirala via Linux-f2fs-devel 2020-06-17 17:56 ` Jaegeuk Kim 2020-06-17 17:56 ` [f2fs-dev] " Jaegeuk Kim 2020-06-18 10:06 ` Chao Yu 2020-06-18 10:06 ` [f2fs-dev] " Chao Yu 2020-06-18 18:13 ` Eric Biggers 2020-06-18 18:13 ` [f2fs-dev] " Eric Biggers 2020-06-18 19:28 ` Jaegeuk Kim 2020-06-18 19:28 ` [f2fs-dev] " Jaegeuk Kim 2020-06-18 19:35 ` Eric Biggers 2020-06-18 19:35 ` [f2fs-dev] " Eric Biggers 2020-06-19 2:43 ` Chao Yu 2020-06-19 2:43 ` [f2fs-dev] " Chao Yu 2020-06-19 2:39 ` Chao Yu 2020-06-19 2:39 ` [f2fs-dev] " Chao Yu 2020-06-19 4:20 ` Eric Biggers 2020-06-19 4:20 ` [f2fs-dev] " Eric Biggers 2020-06-19 6:37 ` Chao Yu 2020-06-19 6:37 ` [f2fs-dev] " Chao Yu 2020-06-18 22:50 ` Eric Biggers 2020-06-18 22:50 ` [f2fs-dev] " Eric Biggers 2020-06-17 7:57 ` [PATCH 4/4] ext4: " Satya Tangirala 2020-06-17 7:57 ` [f2fs-dev] " Satya Tangirala via Linux-f2fs-devel 2020-06-18 17:27 ` [PATCH 0/4] Inline Encryption Support for fscrypt Eric Biggers 2020-06-18 17:27 ` [f2fs-dev] " Eric Biggers
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200617075732.213198-1-satyat@google.com \ --to=satyat@google.com \ --cc=linux-ext4@vger.kernel.org \ --cc=linux-f2fs-devel@lists.sourceforge.net \ --cc=linux-fscrypt@vger.kernel.org \ --cc=linux-fsdevel@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.