Hi,

在 2024/8/15 22:16, Kent Overstreet 写道:
On Thu, Aug 15, 2024 at 10:20:34PM GMT, Li Zetao wrote:
When bcachefs uses io_uring, implement the iopoll method to support
IORING_SETUP_IOPOLL.

Signed-off-by: Li Zetao <lizet...@huawei.com>

tested?
I have tested with fio:

[root]# vi bcachefs.fio
[global]
direct=1
thread=1
norandommap=1
group_reporting=1
time_based=1
ioengine=io_uring

rw=randwrite
bs=4096
runtime=20
numjobs=1
fixedbufs=1
hipri=1
registerfiles=1
sqthread_poll=1

[filename0]
size=1G
iodepth=1
cpus_allowed=20
filename=/mnt/bcachefs/test

The option "hipri=1" need to support IORING_SETUP_IOPOLL for io_uring engine.

Reply via email to