Skip to contentSkip to conversation

Add kernel AIO support for POSIX AIO

PATCH In review Sébastien Dugué 1 participant 2 messages Jul 28, 2005 – Jul 29, 2005

lore
Share & tools
lore
#0 lore raw

cover Add kernel AIO support for POSIX AIO

This set of patches adds functionality to the kernel AIO
infrastructure to be used by user level libraries aiming at implementing a POSIX compliant API on top of this kernel support.

This patchset is comprised of 5 patches, each implementing a specific
functionality:

- aiomaxevents: adds a sysctl variable for setting the default AIO context event ring size at runtime. This tunable is accessible via /proc/sys/fs/posix-aio-default-max-nr.

- aioevent: adds support for request completion notification.

- lioevent: adds support for list of requests completion notification.

- liowait: adds support for the POSIX listio LIO_WAIT mechanism.

- cancelfd: adds support for cancellation against a file descriptor.

These patches apply cleanly on a vanilla 2.6.12 kernel tree and should
be applied in the order shown before.

Signature · 10 lines
------------------------------------------------------

  Sébastien Dugué                BULL/FREC:B1-247
  phone: (+33) 476 29 77 70      Bullcom: 229-7770

  mailto:[email protected]

  Linux POSIX AIO: http://www.bullopensource.org/posix
  
------------------------------------------------------
#1 lore raw
Quoted 15 lines · Sébastien Dugué

infrastructure to be used by user level libraries aiming at implementing a POSIX compliant API on top of this kernel support.

This patchset is comprised of 5 patches, each implementing a specific
functionality:

- aiomaxevents: adds a sysctl variable for setting the default AIO context event ring size at runtime. This tunable is accessible via /proc/sys/fs/posix-aio-default-max-nr.

- aioevent: adds support for request completion notification.

- lioevent: adds support for list of requests completion notification.

Quoted 8 lines

- liowait: adds support for the POSIX listio LIO_WAIT mechanism.

- cancelfd: adds support for cancellation against a file descriptor.

These patches apply cleanly on a vanilla 2.6.12 kernel tree and should
be applied in the order shown before.

Sorry forgot to credit Laurent Vivier as the main author of these
patches.

Sébastien.

Signature · 10 lines
------------------------------------------------------

  Sébastien Dugué                BULL/FREC:B1-247
  phone: (+33) 476 29 77 70      Bullcom: 229-7770

  mailto:[email protected]

  Linux POSIX AIO: http://www.bullopensource.org/posix
  
------------------------------------------------------