On Tue, May 19, 2020 at 04:16:45PM -0600, Jens Axboe wrote: > > > > -------- Forwarded Message -------- > Subject: [RFC 2/2] io_uring: mark REQ_NOWAIT for a non-mq queue as unspported > Date: Tue, 19 May 2020 14:52:50 -0700 > From: Bijan Mottahedeh <bijan.mottahedeh@xxxxxxxxxx> > To: axboe@xxxxxxxxx > CC: io-uring@xxxxxxxxxxxxxxx > > Mark a REQ_NOWAIT request for a non-mq queue as unspported instead of > retryable since otherwise the io_uring layer will keep resubmitting > the request. Someone needs to audit if this translates into the right errors message for the syscalls, as they eventually need to return -EAGAIN to userspace.