I guess that AIO support has never been tested on FreeBSD?

Richard Sharpe realrichardsharpe at gmail.com
Fri Nov 30 12:04:21 MST 2012

On Fri, Nov 30, 2012 at 10:11 AM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> Hi folks,
> after switching on AIO support on FreeBSD and fixing the obvious bug
> in tevent_signal.c, I get this:
> #0  0x0000000802f98d5c in aio_read () from /lib/libc.so.7
> #1  0x00000008023be441 in aio_fsync () from /usr/lib/librt.so.1
> #2  0x00000000008d82d5 in sys_aio_read (aiocb=0x8039fd8a0) at lib/system.c:2505
> #3  0x0000000000590a72 in vfswrap_aio_read (handle=0x803910f90,
>     fsp=0x803908950, aiocb=0x8039fd8a0) at modules/vfs_default.c:1896
> #4  0x0000000000541a92 in smb_vfs_call_aio_read (handle=0x803910f90,
>     fsp=0x803908950, aiocb=0x8039fd8a0) at smbd/vfs.c:2057

OK, further investigation shows that I did not have the AIO KLD loaded.

More info when I have that done.

Richard Sharpe

More information about the samba-technical mailing list