xfs: introduce an allocation workqueue
[deliverable/linux.git] / fs / xfs / xfs_alloc.h
index 2f52b924be79f424b0a3115849af602f719a6b79..ab5d0fd2f535954d0924c5ed933b8083133b6383 100644 (file)
@@ -25,6 +25,8 @@ struct xfs_perag;
 struct xfs_trans;
 struct xfs_busy_extent;
 
+extern struct workqueue_struct *xfs_alloc_wq;
+
 /*
  * Freespace allocation types.  Argument to xfs_alloc_[v]extent.
  */
@@ -119,6 +121,9 @@ typedef struct xfs_alloc_arg {
        char            isfl;           /* set if is freelist blocks - !acctg */
        char            userdata;       /* set if this is user data */
        xfs_fsblock_t   firstblock;     /* io first block allocated */
+       struct completion *done;
+       struct work_struct work;
+       int             result;
 } xfs_alloc_arg_t;
 
 /*
This page took 0.025035 seconds and 5 git commands to generate.