xfs: defer AIO/DIO completions
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_aops.h
index 71f721e1a71f9b82a09a3fd298c739a76a419851..ce3dcb50762e3de89733097f6043ac787f31c340 100644 (file)
@@ -47,6 +47,7 @@ typedef struct xfs_ioend {
        unsigned int            io_type;        /* delalloc / unwritten */
        int                     io_error;       /* I/O error code */
        atomic_t                io_remaining;   /* hold count */
+       unsigned int            io_isasync : 1; /* needs aio_complete */
        struct inode            *io_inode;      /* file being written to */
        struct buffer_head      *io_buffer_head;/* buffer linked list head */
        struct buffer_head      *io_buffer_tail;/* buffer linked list tail */