[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] PATCH: add missing (dummy) raw_aio_ioctl() for FreeBSD
From: |
Christoph Hellwig |
Subject: |
Re: [Qemu-devel] PATCH: add missing (dummy) raw_aio_ioctl() for FreeBSD case |
Date: |
Fri, 1 May 2009 23:52:26 +0200 |
User-agent: |
Mutt/1.3.28i |
On Fri, May 01, 2009 at 11:19:18PM +0200, Juergen Lock wrote:
> Oh, we are using aio afaict, at least configure says
> ...
> AIO support yes
> ...
> - but isn't this raw_aio_ioctl() only used for SG_IO i.e. scsi passthru?
> (which isn't implemented for FreeBSD yet because doing direct scsi
> commands from userland works differently there than on linux.)
>
> Or am I confused? :)
You're not. Currently aio_ioctl is only used for SG_IO. But I don't
think wiring up for freebsd would hurt. The actual posix-aio-compat.c
code for it is compiled on freebsd anyway, so hooking it up is easy,
and you're prepared if other users pop up.