aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_trans_priv.h')
-rw-r--r--fs/xfs/xfs_trans_priv.h17
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 *);
56struct xfs_log_item *xfs_trans_next_ail(struct xfs_mount *, 56struct 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 */
63long xfsaild_push(struct xfs_mount *, xfs_lsn_t *); 62struct xfs_ail {
64void xfsaild_wakeup(struct xfs_mount *, xfs_lsn_t); 63 struct xfs_mount *xa_mount;
65int xfsaild_start(struct xfs_mount *); 64 struct list_head xa_ail;
66void xfsaild_stop(struct xfs_mount *); 65 uint xa_gen;
66 struct task_struct *xa_task;
67 xfs_lsn_t xa_target;
68};
69
70long xfsaild_push(struct xfs_ail *, xfs_lsn_t *);
71void xfsaild_wakeup(struct xfs_ail *, xfs_lsn_t);
72int xfsaild_start(struct xfs_ail *);
73void xfsaild_stop(struct xfs_ail *);
67 74
68#endif /* __XFS_TRANS_PRIV_H__ */ 75#endif /* __XFS_TRANS_PRIV_H__ */