• Daeho Jeong's avatar
    f2fs: add compress_mode mount option · 602a16d5
    Daeho Jeong authored
    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: default avatarDaeho Jeong <daehojeong@google.com>
    Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
    Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
    602a16d5
f2fs.h 131 KB