On 05/28/2017 04:27 AM, Christoph Hellwig wrote: >> Changes since v8: >> + Err out AIO reads with -EINVAL flagged as RWF_NOWAIT > > Ugg, why? Reads aren't really treated any different than writes in > the direct I/O code. This effort focused on writes only. >From the point of view of the application/user, reads are usually required to complete with success. I don't see a scenario where reads() would need the nowait feature. If there is a use case, I'd be happy to add and support it. -- Goldwyn