diff options
author | Daeho Jeong <daehojeong@google.com> | 2020-10-30 13:10:34 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-11-02 17:34:00 -0800 |
commit | 9e2a5f8cfb4d9371783e21e27bba4338401f1260 (patch) | |
tree | 269020f8682cd2626b966be54623b4bb9a72466f /fs/ufs/namei.c | |
parent | fa4320cefb8537a70cc28c55d311a1f569697cd3 (diff) | |
download | linux-9e2a5f8cfb4d9371783e21e27bba4338401f1260.tar.bz2 |
f2fs: add F2FS_IOC_GET_COMPRESS_OPTION ioctl
Added a new F2FS_IOC_GET_COMPRESS_OPTION ioctl to get file compression
option of a file.
struct f2fs_comp_option {
u8 algorithm; => compression algorithm
=> 0:lzo, 1:lz4, 2:zstd, 3:lzorle
u8 log_cluster_size; => log scale cluster size
=> 2 ~ 8
};
struct f2fs_comp_option option;
ioctl(fd, F2FS_IOC_GET_COMPRESS_OPTION, &option);
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/ufs/namei.c')
0 files changed, 0 insertions, 0 deletions