diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-10-08 12:56:02 +0200 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-10-17 18:53:29 +0200 |
commit | f661f1e0bf5002bdcc8b5810ad0a184a1841537f (patch) | |
tree | fe6a0e5f14e3b2c0c6e01dcddbf6de1b8b3de26e /fs/xfs/xfs_sync.h | |
parent | xfs: don't run the sync work if the filesystem is read-only (diff) | |
download | linux-f661f1e0bf5002bdcc8b5810ad0a184a1841537f.tar.xz linux-f661f1e0bf5002bdcc8b5810ad0a184a1841537f.zip |
xfs: sync work is now only periodic log work
The only thing the periodic sync work does now is flush the AIL and
idle the log. These are really functions of the log code, so move
the work to xfs_log.c and rename it appropriately.
The only wart that this leaves behind is the xfssyncd_centisecs
sysctl, otherwise the xfssyncd is dead. Clean up any comments that
related to xfssyncd to reflect it's passing.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_sync.h')
-rw-r--r-- | fs/xfs/xfs_sync.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_sync.h b/fs/xfs/xfs_sync.h index 3f59e5bed66b..8d58fab72a10 100644 --- a/fs/xfs/xfs_sync.h +++ b/fs/xfs/xfs_sync.h @@ -26,8 +26,6 @@ struct xfs_perag; extern struct workqueue_struct *xfs_syncd_wq; /* sync workqueue */ -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); |