Re: [f2fs-dev] [PATCH v9 09/11] fscrypt: add inline encryption support

2020-03-25 Thread Eric Biggers
On Wed, Mar 25, 2020 at 08:07:00PM -0700, Satya Tangirala wrote: > +/* Enable inline encryption for this file if supported. */ > +void fscrypt_select_encryption_impl(struct fscrypt_info *ci) > +{ > + const struct inode *inode = ci->ci_inode; > + struct super_block *sb = inode->i_sb; > + > +

[f2fs-dev] [PATCH v9 09/11] fscrypt: add inline encryption support

2020-03-25 Thread Satya Tangirala via Linux-f2fs-devel
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 model is needed in order to take advantage of the inline encryption hardw