selftests/bpf: add test_spec_readahead_xfs_file to support specail async readahead
hulk inclusion category: feature bugzilla: 173267 CVE: NA --------------------------- For hibench applications, likely kmeans, wordcount, terasort, we can try to use this bpf tool to improve io performance. Usage: make -C bpf ./test_xfs_file spec_readahead Signed-off-by:Yufen Yu <yuyufen@huawei.com> Signed-off-by:
Zhihao Cheng <chengzhihao1@huawei.com> Reviewed-by:
Hou Tao <houtao1@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Showing
- tools/include/uapi/linux/xfs.h 1 addition, 0 deletionstools/include/uapi/linux/xfs.h
- tools/testing/selftests/bpf/Makefile 2 additions, 1 deletiontools/testing/selftests/bpf/Makefile
- tools/testing/selftests/bpf/test_spec_readahead_xfs_file.c 39 additions, 0 deletionstools/testing/selftests/bpf/test_spec_readahead_xfs_file.c
- tools/testing/selftests/bpf/test_xfs_file.c 7 additions, 2 deletionstools/testing/selftests/bpf/test_xfs_file.c
Please register or sign in to comment