Re: [Qemu-devel] [PATCH v3 4/8] block/io_uring: implements interfaces for io_uring

2019-05-27 Thread Stefan Hajnoczi
On Mon, May 27, 2019 at 01:33:23PM +0530, Aarushi Mehta wrote: > +static void qemu_luring_process_completions(LuringState *s) > +{ > +struct io_uring_cqe *cqes; > +/* > + * Request completion callbacks can run the nested event loop. > + * Schedule ourselves so the nested event loop

[Qemu-devel] [PATCH v3 4/8] block/io_uring: implements interfaces for io_uring

2019-05-27 Thread Aarushi Mehta
Signed-off-by: Aarushi Mehta --- We need nested loops in ioq_submit because overflowed requests may be permitted to submit if existing ones are cleared. Hence, failure to fulfill an overflow request must break separately from normal submission. For now, to prevent any infinite loops, if the kern