mbox series

[RFC,0/2] Fixes for fio io_uring polled mode test failures

Message ID 1579142266-64789-1-git-send-email-bijan.mottahedeh@oracle.com (mailing list archive)
Headers show
Series Fixes for fio io_uring polled mode test failures | expand

Message

Bijan Mottahedeh Jan. 16, 2020, 2:37 a.m. UTC
These patches address the crash and list corruption errors when running
the fio test below.

[global]
filename=/dev/nvme0n1
rw=randread
bs=4k
direct=1
time_based=1
randrepeat=1
gtod_reduce=1
[fiotest]


fio nvme.fio --readonly --ioengine=io_uring --iodepth 1024 --fixedbufs 
--hipri --numjobs=$1 --runtime=$2

Bijan Mottahedeh (2):
  io_uring: clear req->result always before issuing a read/write request
  io_uring: acquire ctx->uring_lock before calling io_issue_sqe()

 fs/io_uring.c | 4 ++++
 1 file changed, 4 insertions(+)