diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-10-08 21:56:05 +1100 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-10-17 12:19:27 -0500 |
commit | 5889608df35783590251cfd440fa5d48f1855179 (patch) | |
tree | 4284177945081868e2756d27ae9706e1cc9ee357 /fs/xfs/xfs_log.c | |
parent | 9aa05000f2b7cab4be582afba64af10b2d74727e (diff) | |
download | linux-5889608df35783590251cfd440fa5d48f1855179.tar.bz2 |
xfs: syncd workqueue is no more
With the syncd functions moved to the log and/or removed, the syncd
workqueue is the only remaining bit left. It is used by the log
covering/ail pushing work, as well as by the inode reclaim work.
Given how cheap workqueues are these days, give the log and inode
reclaim work their own work queues and kill the syncd work queue.
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_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index e788f39721e3..b6ce4d4b6def 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c @@ -1193,7 +1193,7 @@ void xfs_log_work_queue( struct xfs_mount *mp) { - queue_delayed_work(xfs_syncd_wq, &mp->m_log->l_work, + queue_delayed_work(mp->m_log_workqueue, &mp->m_log->l_work, msecs_to_jiffies(xfs_syncd_centisecs * 10)); } |