Jens Axboe
Jens Axboe
That's a good idea. We should probably just make this available directly through the poll command, and not require a linked FIONREAD.
Started worked on this: https://git.kernel.dk/cgit/linux-block/log/?h=io_uring-fops Basically it provides IORING_OP_URING_CMD, which can carry a file type private command type. One example is FIONREAD (which I did implement in the above), and...
The fops code has been merged in 5.19, and we also return whether or not there's data left in the socket with that release. Doesn't as-of yet return how many...
We can probably probably weak versions of the static inline ones. What do you currently do for the other functions, like io_uring_cqe_seen() or io_uring_cq_advance()?
Can you try and lay the files down, and then do a fio run? That should fail immediately. For that run, maybe do: strace -o xx -f ./fio bla.ini and...
Thanks for sending the strace! It looks like we're getting EACCES on open of those files. We open it fine from the main thread, and get EACCES from the client:...
Sure, no problem.
Thanks for the report, bug you neglected to include the most important information (job fie, fio version, etc). Please read: https://git.kernel.dk/cgit/fio/tree/REPORTING-BUGS
Please read the reporting bugs file - what fio version are you using?
It's done on purpose - tests that are able to take an argument with run with that argument, tests that don't just exit to not repeat the exact same test....