diff options
Diffstat (limited to 'fs/xfs/xfs_trans_priv.h')
-rw-r--r-- | fs/xfs/xfs_trans_priv.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/fs/xfs/xfs_trans_priv.h b/fs/xfs/xfs_trans_priv.h index 3c748c456ed4..98317fdc33b5 100644 --- a/fs/xfs/xfs_trans_priv.h +++ b/fs/xfs/xfs_trans_priv.h | |||
@@ -56,13 +56,20 @@ struct xfs_log_item *xfs_trans_first_ail(struct xfs_mount *, int *); | |||
56 | struct xfs_log_item *xfs_trans_next_ail(struct xfs_mount *, | 56 | struct xfs_log_item *xfs_trans_next_ail(struct xfs_mount *, |
57 | struct xfs_log_item *, int *, int *); | 57 | struct xfs_log_item *, int *, int *); |
58 | 58 | ||
59 | |||
60 | /* | 59 | /* |
61 | * AIL push thread support | 60 | * AIL push thread support |
62 | */ | 61 | */ |
63 | long xfsaild_push(struct xfs_mount *, xfs_lsn_t *); | 62 | struct xfs_ail { |
64 | void xfsaild_wakeup(struct xfs_mount *, xfs_lsn_t); | 63 | struct xfs_mount *xa_mount; |
65 | int xfsaild_start(struct xfs_mount *); | 64 | struct list_head xa_ail; |
66 | void xfsaild_stop(struct xfs_mount *); | 65 | uint xa_gen; |
66 | struct task_struct *xa_task; | ||
67 | xfs_lsn_t xa_target; | ||
68 | }; | ||
69 | |||
70 | long xfsaild_push(struct xfs_ail *, xfs_lsn_t *); | ||
71 | void xfsaild_wakeup(struct xfs_ail *, xfs_lsn_t); | ||
72 | int xfsaild_start(struct xfs_ail *); | ||
73 | void xfsaild_stop(struct xfs_ail *); | ||
67 | 74 | ||
68 | #endif /* __XFS_TRANS_PRIV_H__ */ | 75 | #endif /* __XFS_TRANS_PRIV_H__ */ |