Home | History | Annotate | Download | only in sys
History log of /src/sys/sys/aio.h
RevisionDateAuthorComments
 1.14  10-Oct-2025  christos Commit GSoC 2025 aio project by Ethan Miller:
https://blog.netbsd.org/tnf/entry/gsoc2025_asynchronous_i_o_framework
 1.13  09-Apr-2016  riastradh Macro parentheses police!

One *hopes* this has no functional change.
 1.12  07-Jan-2012  christos branches: 1.12.6; 1.12.24;
According to TOG, <aio.h> is a standalone header.
 1.11  21-Nov-2011  christos branches: 1.11.2;
change printf gcc attribute to __printflike(), requested by joerg.
 1.10  20-Nov-2011  christos add more missing printf attributes.
 1.9  11-Jan-2009  christos branches: 1.9.14;
merge christos-time_t
 1.8  14-Nov-2008  ad Make POSIX AIO loadable as a module.
 1.7  26-May-2008  rmind branches: 1.7.4; 1.7.6;
Adjust and thus unify my license.
 1.6  28-Nov-2007  rmind branches: 1.6.14; 1.6.16; 1.6.18; 1.6.20; 1.6.22;
Unify the license: All rights reserved.
No functional change.
 1.5  31-May-2007  rmind branches: 1.5.2; 1.5.4; 1.5.10; 1.5.12; 1.5.14; 1.5.20;
Make AIO initialization MP-safe.

Actually, lwp_exit() with (l != curlwp) will not work.
This fix might be pulled up from vmlocking branch.
 1.4  31-May-2007  rmind As suggested by <yamt>, make the aiocb structure alignment friendly.
- Change the type of the internal members to int
- Reorder the members
 1.3  31-May-2007  rmind - Make aio_worker to handle pending exits and coredumps
- Allow aio_suspend() to be ended early by a signal
- Fix reference counting on LIO structures (remove hack)
- Use two global pools for AIO structures
- Minor cleanups

Patch provided by <ad>. Some additional modifications by me.
Reviewed by <yamt>.
 1.2  03-May-2007  rmind branches: 1.2.2;
- Make aio_listio_max and aio_max changeable via sysctl.
- Set a lower priority for AIO-worker thread, because current could cause
interactivity problems (eg. with qemu - thanks <xtraeme> for testing).
Mark it as XXX for now - after priority model change, this should
be reconsidered anyway.
- Do not copyout() with lock held in sys_aio_cancel().
- Fix a leak of the lock in aio_process().
- Check for any error of cv_wait_sig().
- Cache p->p_aio in aio_exit().

Thanks <ad> for catching the issues!
 1.1  30-Apr-2007  rmind Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>
 1.2.2.2  07-May-2007  yamt sync with head.
 1.2.2.1  03-May-2007  yamt file aio.h was added on branch yamt-idlelwp on 2007-05-07 10:56:13 +0000
 1.5.20.1  08-Dec-2007  mjf Sync with HEAD.
 1.5.14.3  07-Dec-2007  yamt sync with head
 1.5.14.2  03-Sep-2007  yamt sync with head.
 1.5.14.1  31-May-2007  yamt file aio.h was added on branch yamt-lazymbuf on 2007-09-03 14:45:56 +0000
 1.5.12.1  09-Jan-2008  matt sync with HEAD
 1.5.10.1  03-Dec-2007  joerg Sync with HEAD.
 1.5.4.2  11-Jul-2007  mjf Sync with head.
 1.5.4.1  31-May-2007  mjf file aio.h was added on branch mjf-ufs-trans on 2007-07-11 20:12:19 +0000
 1.5.2.3  09-Jun-2007  ad Sync with head.
 1.5.2.2  09-Jun-2007  ad Sync with head.
 1.5.2.1  31-May-2007  ad file aio.h was added on branch vmlocking on 2007-06-09 21:37:28 +0000
 1.6.22.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.6.20.1  04-May-2009  yamt sync with head.
 1.6.18.1  04-Jun-2008  yamt sync with head
 1.6.16.3  20-Nov-2008  christos merge with head.
 1.6.16.2  01-Nov-2008  christos Sync with head.
 1.6.16.1  29-Mar-2008  christos Welcome to the time_t=long long dev_t=uint64_t branch.
 1.6.14.2  17-Jan-2009  mjf Sync with HEAD.
 1.6.14.1  02-Jun-2008  mjf Sync with HEAD.
 1.7.6.1  19-Jan-2009  skrll Sync with HEAD.
 1.7.4.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.9.14.1  17-Apr-2012  yamt sync with head
 1.11.2.1  18-Feb-2012  mrg merge to -current.
 1.12.24.1  22-Apr-2016  skrll Sync with HEAD
 1.12.6.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed