[PATCHSET 3][PATCH 0/5][AIO] - AIO completion signal notification v4

From: Bharata B Rao
Date: Thu Jan 04 2007 - 04:20:52 EST


Hi

Here is a repost of Sebastien's AIO completion signal notification v4
patches along with the syscall based listio support patch. The goal
of this patchset is to improve the POSIX AIO support in the kernel.

While the 1st 4 patches provide the AIO completion signal notification
support, the 5th one provides the listio support.

Sebastien's original patchset had a different listio support patch
(patch number 5) based on overloading the io_submit() with a new
aio_lio_opcode (IOCB_CMD_GROUP). But here listio support is provided
by a separate system call.

As mentioned, this set consists of 5 patches:

1. rework-compat-sys-io-submit: cleanup the sys_io_submit() compat
layer, making it more efficient and laying out the base for the
following patches

2. aio-header-fix-includes: fixes the double inclusion of uio.h in aio.h

3. export-good_sigevent: move good_sigevent into signal.c and make it
non-static

4. aio-notify-sig: the AIO completion signal notification

5. listio: adds listio support

Description are in the individual patches.

Original v4 post is present at http://lkml.org/lkml/2006/11/30/223

Changes from v3:
All changes following comments from Zach Brown and Christoph Hellwig

- added justification for the compat_sys_io_submit() cleanup
- more cleanups in compat_sys_io_submit() to put it in line with
sys_io_submit()
- Changed "Export good_sigevent()" patch name to "Make good_sigevent()
non-static" to better describe what it does.=20
- Reworked good_sigevent() to make it more readable.
- Simplified the use of the SIGEV_* constants in signal notification
- Take a reference on the target task both for the SIGEV_THREAD_ID and
SIGEV_SIGNAL cases.

Changes from v2:
- rebased to 2.6.19-rc6-mm2
- reworked the sys_io_submit() compat layer as suggested by Zach Brown
- fixed saving of a pointer to a task struct in aio-notify-sig as
pointed out by Andrew Morton

Changes from v1:
- cleanups suggested by Christoph Hellwig, Badari Pulavarty and
Zach Brown
- added lisio patch

Regards,
Bharata.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/