Re: [f2fs-dev] [PATCH v2] f2fs: compress: add compress_inode to cache compressed blocks

From: Chao Yu
Date: Thu Nov 26 2020 - 20:05:19 EST


On 2020/11/27 1:55, Eric Biggers wrote:
On Thu, Nov 26, 2020 at 06:37:09PM +0800, Chao Yu wrote:
Support to use address space of inner inode to cache compressed block,
in order to improve cache hit ratio of random read.

Signed-off-by: Chao Yu <yuchao0@xxxxxxxxxx>

If the file is also encrypted, are the compressed pages that are cached still
encrypted, or are they decrypted?

In current implementation, they are decrypted in cache.

Thanks,


- Eric
.