[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Do we need CONFIG_AIO?

From: Todd T. Fries
Subject: Re: [Qemu-devel] Do we need CONFIG_AIO?
Date: Mon, 25 May 2009 08:35:55 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

Penned by Stefano Stabellini on 20090525 12:49.08, we have:
| Christoph Hellwig wrote:
| > Currently all aio code in the raw-posix block driver depends on a
| > CONFIG_AIO symbol that gets set based on the availability of the
| > pthreads library.  Beeing able to rely on unconditional aio support
| > means we could remove the whole code for plain bdrv_read/bdrv_write
| > in raw-posix.c which is about 300 lines of code and a duplicated code
| > path.  Is there any Posix-ish platform qemu supports that does not
| > have pthreads support?
| > 
| MiniOS.
| I would appreciate if you keep that flag.

You seem to be under the illusion that pthreads implies AIO.

OpenBSD has two flavors of threads libraries (arguably one is not
fit for consumption yet) and neither provide AIO.

This flag is most useful for OpenBSD as well.

Todd Fries .. address@hidden

|                                             \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC                 \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com             \  1.866.792.3418 (FAX)
| "..in support of free software solutions."  \          250797 (FWD)
|                                             \
              37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A

reply via email to

[Prev in Thread] Current Thread [Next in Thread]