aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_sync.h
diff options
context:
space:
mode:
authorDave Chinner2012-10-08 21:55:59 +1100
committerBen Myers2012-10-17 11:14:19 -0500
commit33c7a2bc48a81fa714572f8ce29f29bc17e6faf0 (patch)
treedf688d3a9303bd86f2f9eeb51f6368f1b5672dca /fs/xfs/xfs_sync.h
parentddffeb8c4d0331609ef2581d84de4d763607bd37 (diff)
xfs: xfs_syncd_stop must die
xfs_syncd_start and xfs_syncd_stop tie a bunch of unrelated functionailty together that actually have different start and stop requirements. Kill these functions and open code the start/stop methods for each of the background functions. Subsequent patches will move the start/stop functions around to the correct places to avoid races and shutdown issues. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_sync.h')
-rw-r--r--fs/xfs/xfs_sync.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/xfs/xfs_sync.h b/fs/xfs/xfs_sync.h
index 941202e7ac6e..3f59e5bed66b 100644
--- a/fs/xfs/xfs_sync.h
+++ b/fs/xfs/xfs_sync.h
@@ -26,8 +26,10 @@ struct xfs_perag;
extern struct workqueue_struct *xfs_syncd_wq; /* sync workqueue */
-int xfs_syncd_init(struct xfs_mount *mp);
-void xfs_syncd_stop(struct xfs_mount *mp);
+void xfs_syncd_queue_sync(struct xfs_mount *mp);
+void xfs_sync_worker(struct work_struct *work);
+void xfs_flush_worker(struct work_struct *work);
+void xfs_reclaim_worker(struct work_struct *work);
int xfs_quiesce_data(struct xfs_mount *mp);
void xfs_quiesce_attr(struct xfs_mount *mp);