Re: [f2fs-dev] [PATCH v2 1/2] f2fs: add compress_mode mount option

From: Chao Yu
Date: Thu Dec 03 2020 - 02:06:41 EST


On 2020/12/1 12:08, Daeho Jeong wrote:
From: Daeho Jeong <daehojeong@xxxxxxxxxx>

We will add a new "compress_mode" mount option to control file
compression mode. This supports "fs" and "user". In "fs" mode (default),
f2fs does automatic compression on the compression enabled files.
In "user" mode, f2fs disables the automaic compression and gives the
user discretion of choosing the target file and the timing. It means
the user can do manual compression/decompression on the compression
enabled files using ioctls.

Signed-off-by: Daeho Jeong <daehojeong@xxxxxxxxxx>

Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>

Thanks,