Re: Detecting RWF_NOWAIT support

2017-12-17 Thread Avi Kivity
On 12/18/2017 05:28 AM, Goldwyn Rodrigues wrote: On 12/16/2017 08:49 AM, Avi Kivity wrote: On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: On 12/14/2017 11:38 AM, Avi Kivity wrote: I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. Naturally, I need to detect at runtime

Re: Detecting RWF_NOWAIT support

2017-12-17 Thread Avi Kivity
On 12/18/2017 05:28 AM, Goldwyn Rodrigues wrote: On 12/16/2017 08:49 AM, Avi Kivity wrote: On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: On 12/14/2017 11:38 AM, Avi Kivity wrote: I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. Naturally, I need to detect at runtime

Re: Detecting RWF_NOWAIT support

2017-12-17 Thread Goldwyn Rodrigues
On 12/16/2017 08:49 AM, Avi Kivity wrote: > > > On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: >> >> On 12/14/2017 11:38 AM, Avi Kivity wrote: >>> I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. >>> Naturally, I need to detect at runtime whether the kernel support >>>

Re: Detecting RWF_NOWAIT support

2017-12-17 Thread Goldwyn Rodrigues
On 12/16/2017 08:49 AM, Avi Kivity wrote: > > > On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: >> >> On 12/14/2017 11:38 AM, Avi Kivity wrote: >>> I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. >>> Naturally, I need to detect at runtime whether the kernel support >>>

Re: Detecting RWF_NOWAIT support

2017-12-16 Thread Avi Kivity
On 12/16/2017 08:12 PM, vcap...@pengaru.com wrote: On Sat, Dec 16, 2017 at 10:03:38AM -0800, vcap...@pengaru.com wrote: On Sat, Dec 16, 2017 at 04:49:08PM +0200, Avi Kivity wrote: On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: On 12/14/2017 11:38 AM, Avi Kivity wrote: I'm looking to add

Re: Detecting RWF_NOWAIT support

2017-12-16 Thread Avi Kivity
On 12/16/2017 08:12 PM, vcap...@pengaru.com wrote: On Sat, Dec 16, 2017 at 10:03:38AM -0800, vcap...@pengaru.com wrote: On Sat, Dec 16, 2017 at 04:49:08PM +0200, Avi Kivity wrote: On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: On 12/14/2017 11:38 AM, Avi Kivity wrote: I'm looking to add

Re: Detecting RWF_NOWAIT support

2017-12-16 Thread vcaputo
On Sat, Dec 16, 2017 at 10:03:38AM -0800, vcap...@pengaru.com wrote: > On Sat, Dec 16, 2017 at 04:49:08PM +0200, Avi Kivity wrote: > > > > > > On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: > > > > > > On 12/14/2017 11:38 AM, Avi Kivity wrote: > > > > I'm looking to add support for RWF_NOWAIT

Re: Detecting RWF_NOWAIT support

2017-12-16 Thread vcaputo
On Sat, Dec 16, 2017 at 10:03:38AM -0800, vcap...@pengaru.com wrote: > On Sat, Dec 16, 2017 at 04:49:08PM +0200, Avi Kivity wrote: > > > > > > On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: > > > > > > On 12/14/2017 11:38 AM, Avi Kivity wrote: > > > > I'm looking to add support for RWF_NOWAIT

Re: Detecting RWF_NOWAIT support

2017-12-16 Thread vcaputo
On Sat, Dec 16, 2017 at 04:49:08PM +0200, Avi Kivity wrote: > > > On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: > > > > On 12/14/2017 11:38 AM, Avi Kivity wrote: > > > I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. > > > Naturally, I need to detect at runtime whether the

Re: Detecting RWF_NOWAIT support

2017-12-16 Thread vcaputo
On Sat, Dec 16, 2017 at 04:49:08PM +0200, Avi Kivity wrote: > > > On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: > > > > On 12/14/2017 11:38 AM, Avi Kivity wrote: > > > I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. > > > Naturally, I need to detect at runtime whether the

Re: Detecting RWF_NOWAIT support

2017-12-16 Thread Avi Kivity
On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: On 12/14/2017 11:38 AM, Avi Kivity wrote: I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. Naturally, I need to detect at runtime whether the kernel support RWF_NOWAIT or not. The only method I could find was to issue an

Re: Detecting RWF_NOWAIT support

2017-12-16 Thread Avi Kivity
On 12/14/2017 09:15 PM, Goldwyn Rodrigues wrote: On 12/14/2017 11:38 AM, Avi Kivity wrote: I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. Naturally, I need to detect at runtime whether the kernel support RWF_NOWAIT or not. The only method I could find was to issue an

Re: Detecting RWF_NOWAIT support

2017-12-14 Thread Goldwyn Rodrigues
On 12/14/2017 11:38 AM, Avi Kivity wrote: > I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. > Naturally, I need to detect at runtime whether the kernel support > RWF_NOWAIT or not. > > > The only method I could find was to issue an I/O with RWF_NOWAIT set, > and look for

Re: Detecting RWF_NOWAIT support

2017-12-14 Thread Goldwyn Rodrigues
On 12/14/2017 11:38 AM, Avi Kivity wrote: > I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. > Naturally, I need to detect at runtime whether the kernel support > RWF_NOWAIT or not. > > > The only method I could find was to issue an I/O with RWF_NOWAIT set, > and look for