aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libaio/man/io_setup.1
diff options
context:
space:
mode:
authorjchesterfield@dhcp92.uk.xensource.com <jchesterfield@dhcp92.uk.xensource.com>2006-07-13 10:13:26 +0100
committerjchesterfield@dhcp92.uk.xensource.com <jchesterfield@dhcp92.uk.xensource.com>2006-07-13 10:13:26 +0100
commit0da81aa1d4a70baefa42b4e5ff1bbf670abc2711 (patch)
treebb0c9f29e962352c1e9949f5e10699847fb2d652 /tools/libaio/man/io_setup.1
parent0929bd9fc08ffc28978dad3208422948adb46811 (diff)
downloadxen-0da81aa1d4a70baefa42b4e5ff1bbf670abc2711.tar.gz
xen-0da81aa1d4a70baefa42b4e5ff1bbf670abc2711.tar.bz2
xen-0da81aa1d4a70baefa42b4e5ff1bbf670abc2711.zip
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.
Diffstat (limited to 'tools/libaio/man/io_setup.1')
-rw-r--r--tools/libaio/man/io_setup.115
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/libaio/man/io_setup.1 b/tools/libaio/man/io_setup.1
new file mode 100644
index 0000000000..68690e1e73
--- /dev/null
+++ b/tools/libaio/man/io_setup.1
@@ -0,0 +1,15 @@
+./"/* sys_io_setup:
+./" * Create an aio_context capable of receiving at least nr_events.
+./" * ctxp must not point to an aio_context that already exists, and
+./" * must be initialized to 0 prior to the call. On successful
+./" * creation of the aio_context, *ctxp is filled in with the resulting
+./" * handle. May fail with -EINVAL if *ctxp is not initialized,
+./" * if the specified nr_events exceeds internal limits. May fail
+./" * with -EAGAIN if the specified nr_events exceeds the user's limit
+./" * of available events. May fail with -ENOMEM if insufficient kernel
+./" * resources are available. May fail with -EFAULT if an invalid
+./" * pointer is passed for ctxp. Will fail with -ENOSYS if not
+./" * implemented.
+./" */
+./" -- note: libaio is actually providing io_queue_init and io_queue_grow
+./" as separate functions. For now io_setup is the same as io_queue_grow.