]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/aio.h
signal/timer/event: KAIO eventfd support example
[mirror_ubuntu-artful-kernel.git] / include / linux / aio.h
index 43dc2ebfaa0e0e973e9ffca58ba66909ea7e46d0..b903fc02bdb7dbc5f95a041dbba4dab24bb67e7c 100644 (file)
@@ -119,6 +119,12 @@ struct kiocb {
 
        struct list_head        ki_list;        /* the aio core uses this
                                                 * for cancellation */
+
+       /*
+        * If the aio_resfd field of the userspace iocb is not zero,
+        * this is the underlying file* to deliver event to.
+        */
+       struct file             *ki_eventfd;
 };
 
 #define is_sync_kiocb(iocb)    ((iocb)->ki_key == KIOCB_SYNC_KEY)