ia64/xen-unstable

view tools/libaio/man/io_setup.1 @ 10736:2937703f0ed0

Added blktap support. Includes kernel driver (enabled as CONFIG_XEN_BLKDEV_TAP=y) and userspace tools. The userspace deamon (blktapctrl) is enabled by default when xend is activated. For further information on using and configuring blktap see tools/blktap/README.
author jchesterfield@dhcp92.uk.xensource.com
date Thu Jul 13 10:13:26 2006 +0100 (2006-07-13)
parents
children
line source
1 ./"/* sys_io_setup:
2 ./" * Create an aio_context capable of receiving at least nr_events.
3 ./" * ctxp must not point to an aio_context that already exists, and
4 ./" * must be initialized to 0 prior to the call. On successful
5 ./" * creation of the aio_context, *ctxp is filled in with the resulting
6 ./" * handle. May fail with -EINVAL if *ctxp is not initialized,
7 ./" * if the specified nr_events exceeds internal limits. May fail
8 ./" * with -EAGAIN if the specified nr_events exceeds the user's limit
9 ./" * of available events. May fail with -ENOMEM if insufficient kernel
10 ./" * resources are available. May fail with -EFAULT if an invalid
11 ./" * pointer is passed for ctxp. Will fail with -ENOSYS if not
12 ./" * implemented.
13 ./" */
14 ./" -- note: libaio is actually providing io_queue_init and io_queue_grow
15 ./" as separate functions. For now io_setup is the same as io_queue_grow.