twissel
twissel
@withoutboats , it's just hangs for me, without any panics.
Great, no worries about demo driver, I discovered this bug while was experimenting with not so demo driver (but it was using AccessQueue as well)
@mxxo you can use fence, but then this should be written like: ``` let head: u32 = atomic_load_relaxed(sq.khead); fence(Acquire); ``` оr just use `atomic_load_acquire(sq.head)` and remove fence.
Here is some numbers from fio: ``` fio --name=read --ioengine=sync --iodepth=1 --rw=read --bs=256k --direct=0 --size=512M --numjobs=1 --runtime=10 --time_based=1 read: (g=0): rw=read, bs=(R) 256KiB-256KiB, (W) 256KiB-256KiB, (T) 256KiB-256KiB, ioengine=sync, iodepth=1 fio-3.16-52-gb0484...
Because you need to register files for sqpoll ``` To successfully use this feature, the application must register a set of files to be used for IO through io_uring_register(2) using...
Why are you waiting for all (QUEUE_DEPTH) cqes to complete here?: https://gist.github.com/Licenser/45786698fc8a3ad78a957d8618882d0d#file-black_box-rs-L90.
sqpoll won't change anything, i'm easily hitting my nvme disk read limit without it.