On 2022/8/16 7:50, Eric Biggers wrote:
From: Eric Biggers <ebigg...@google.com>
As a step towards freeing the PG_error flag for other uses, change ext4
and f2fs to stop using PG_error to track decryption errors. Instead, if
a decryption error occurs, just mark the whole bio as failed. The
coarser granularity isn't really a problem since it isn't any worse than
what the block layer provides, and errors from a multi-page readahead
aren't reported to applications unless a single-page read fails too.
Signed-off-by: Eric Biggers <ebigg...@google.com>
---
fs/crypto/bio.c | 16 ++++++++++------
fs/ext4/readpage.c | 8 +++++---
fs/f2fs/data.c | 18 ++++++++++--------
include/linux/fscrypt.h | 5 +++--
4 files changed, 28 insertions(+), 19 deletions(-)
For f2fs part,
Reviewed-by: Chao Yu <c...@kernel.org>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel