Re: [f2fs-dev] [PATCH v2 1/2] fscrypt: allow synchronous bio decryption

2018-04-19 Thread Jaegeuk Kim
Queued in f2fs/dev. Thanks, On 04/18, Eric Biggers wrote: > Currently, fscrypt provides fscrypt_decrypt_bio_pages() which decrypts a > bio's pages asynchronously, then unlocks them afterwards. But, this > assumes that decryption is the last "postprocessing step" for the bio, > so it's

[f2fs-dev] [PATCH v2 1/2] fscrypt: allow synchronous bio decryption

2018-04-18 Thread Eric Biggers via Linux-f2fs-devel
Currently, fscrypt provides fscrypt_decrypt_bio_pages() which decrypts a bio's pages asynchronously, then unlocks them afterwards. But, this assumes that decryption is the last "postprocessing step" for the bio, so it's incompatible with additional postprocessing steps such as authenticity