diff options
author | 2020-10-30 13:10:34 +0900 | |
---|---|---|
committer | 2020-11-02 17:34:00 -0800 | |
commit | 9e2a5f8cfb4d9371783e21e27bba4338401f1260 (patch) | |
tree | 269020f8682cd2626b966be54623b4bb9a72466f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: move ioctl interface definitions to separated file (diff) | |
download | linux-dev-9e2a5f8cfb4d9371783e21e27bba4338401f1260.tar.xz linux-dev-9e2a5f8cfb4d9371783e21e27bba4338401f1260.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions