Re: Spurious EIO on AIO+DIO+RWF_NOWAIT

2018-12-12 Thread Goldwyn Rodrigues
On 14:05 12/12, Avi Kivity wrote: > On 12/10/18 2:48 PM, Goldwyn Rodrigues wrote: > > On 13:19 09/12, Avi Kivity wrote: > > > I have an application that receives spurious EIO when running with > > > RWF_NOWAIT enabled. Removing RWF_NOWAIT causes those EIOs to disappear. > > > The > > >

Re: Spurious EIO on AIO+DIO+RWF_NOWAIT

2018-12-12 Thread Avi Kivity
On 12/10/18 2:48 PM, Goldwyn Rodrigues wrote: On 13:19 09/12, Avi Kivity wrote: I have an application that receives spurious EIO when running with RWF_NOWAIT enabled. Removing RWF_NOWAIT causes those EIOs to disappear. The application uses AIO+DIO, and errors were seen on both xfs and ext4. I

Re: Spurious EIO on AIO+DIO+RWF_NOWAIT

2018-12-10 Thread Avi Kivity
On 10/12/2018 14.48, Goldwyn Rodrigues wrote: On 13:19 09/12, Avi Kivity wrote: I have an application that receives spurious EIO when running with RWF_NOWAIT enabled. Removing RWF_NOWAIT causes those EIOs to disappear. The application uses AIO+DIO, and errors were seen on both xfs and ext4.

Re: Spurious EIO on AIO+DIO+RWF_NOWAIT

2018-12-10 Thread Goldwyn Rodrigues
On 13:19 09/12, Avi Kivity wrote: > I have an application that receives spurious EIO when running with > RWF_NOWAIT enabled. Removing RWF_NOWAIT causes those EIOs to disappear. The > application uses AIO+DIO, and errors were seen on both xfs and ext4. > > > I suspect the following code: > > >

Spurious EIO on AIO+DIO+RWF_NOWAIT

2018-12-09 Thread Avi Kivity
I have an application that receives spurious EIO when running with RWF_NOWAIT enabled. Removing RWF_NOWAIT causes those EIOs to disappear. The application uses AIO+DIO, and errors were seen on both xfs and ext4. I suspect the following code: /*  * Process one completed BIO.  No locks are