diff options
author | Kent Overstreet <koverstreet@google.com> | 2012-10-05 16:46:36 -0700 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2012-10-05 16:46:36 -0700 |
commit | 30e7aab200bc75798fe16d80a59de40a0a597d81 (patch) | |
tree | f9383b297d22f270ce8ed1a26f7bbe45b0b40671 /include | |
parent | c78172f7efa5f84ca8c94960b153d38d28e5965d (diff) |
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/aio.h | 7 |
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; |