2 * Copyright (C) 2004 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
9 enum aio_type { AIO_READ, AIO_WRITE, AIO_MMAP };
11 struct aio_thread_reply {
20 #define INIT_AIO_CONTEXT { .reply_fd = -1 }
22 extern int submit_aio(enum aio_type type, int fd, char *buf, int len,
23 unsigned long long offset, int reply_fd, void *data);
28 * Overrides for Emacs so that we follow Linus's tabbing style.
29 * Emacs will notice this stuff at the end of the file and automatically
30 * adjust the settings for this buffer only. This must remain at the end
32 * ---------------------------------------------------------------------------
34 * c-file-style: "linux"