xfs: split metadata and log buffer completion to separate workqueues
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_buf.h
index 82002c00af9083a8c68fd3383c177f46baa40879..75ff5d5a7d2ed62bc3aab9565416de4756c43cd0 100644 (file)
@@ -164,7 +164,8 @@ typedef struct xfs_buf {
        struct xfs_perag        *b_pag;         /* contains rbtree root */
        xfs_buftarg_t           *b_target;      /* buffer target (device) */
        void                    *b_addr;        /* virtual address of buffer */
-       struct work_struct      b_iodone_work;
+       struct work_struct      b_ioend_work;
+       struct workqueue_struct *b_ioend_wq;    /* I/O completion wq */
        xfs_buf_iodone_t        b_iodone;       /* I/O completion function */
        struct completion       b_iowait;       /* queue for I/O waiters */
        void                    *b_fspriv;