Skip to content
Snippets Groups Projects
Commit 38abc1bb authored by Yufen Yu's avatar Yufen Yu Committed by Yang Yingliang
Browse files

selftests/bpf: test_xfs_file support to clear FMODE_RANDOM


hulk inclusion
category: feature
bugzilla: 173267
CVE: NA
---------------------------

If ra->prev_pos page index is equal to current pos, that means
it is sequential read, then clear FMODE_RANDOM flag to enable
async readahead.

Usage:
	make -C bpf
	./test_xfs_file clear

Signed-off-by: default avatarYufen Yu <yuyufen@huawei.com>
Signed-off-by: default avatarZhihao Cheng <chengzhihao1@huawei.com>
Reviewed-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent b1e9dddb
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment