summaryrefslogtreecommitdiff
path: root/include/linux/aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/aio.h')
-rw-r--r--include/linux/aio.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/aio.h b/include/linux/aio.h
index fd628f9d2165..7ec611ae69f4 100644
--- a/include/linux/aio.h
+++ b/include/linux/aio.h
@@ -191,19 +191,24 @@ struct kioctx {
unsigned long user_id;
struct hlist_node list;
+ /* for io_getevents()/read_events() */
wait_queue_head_t wait;
spinlock_t ctx_lock;
- int reqs_active;
+ atomic_t reqs_active;
struct list_head active_reqs; /* used for cancellation */
struct list_head run_list; /* used for kicked reqs */
/* sys_io_setup currently limits this to an unsigned int */
unsigned max_reqs;
+ struct aio_ring *ring;
+ unsigned ring_order;
+ unsigned nr_events;
struct aio_ring_info ring_info;
+ struct work_struct free_work;
struct delayed_work wq;
struct rcu_head rcu_head;