Re: [f2fs-dev] [PATCH v4 4/4] ext4: add inline encryption support

2020-07-08 Thread tytso
On Thu, Jul 02, 2020 at 01:56:07AM +, Satya Tangirala wrote: > From: Eric Biggers > > Wire up ext4 to support inline encryption via the helper functions which > fs/crypto/ now provides. This includes: > > - Adding a mount option 'inlinecrypt' which enables inline encryption > on encrypted

Re: [f2fs-dev] [PATCH v4 2/4] fscrypt: add inline encryption support

2020-07-08 Thread tytso
On Thu, Jul 02, 2020 at 01:56:05AM +, Satya Tangirala wrote: > Add support for inline encryption to fs/crypto/. With "inline > encryption", the block layer handles the decryption/encryption as part > of the bio, instead of the filesystem doing the crypto itself via > Linux's crypto API. This m

Re: [f2fs-dev] [PATCH v4 1/4] fs: introduce SB_INLINECRYPT

2020-07-08 Thread tytso
On Thu, Jul 02, 2020 at 01:56:04AM +, Satya Tangirala wrote: > Introduce SB_INLINECRYPT, which is set by filesystems that wish to use > blk-crypto for file content en/decryption. This flag maps to the > '-o inlinecrypt' mount option which multiple filesystems will implement, > and code in fs/cr