xfs: convert to alloc_workqueue()
commit83e759043abe9d0291f58f2427ba12bbb0a6e4f1
authorTejun Heo <tj@kernel.org>
Tue, 1 Feb 2011 10:42:43 +0000 (1 11:42 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 1 Feb 2011 10:42:43 +0000 (1 11:42 +0100)
treede34616d127aa6b85bed21f207da903548ca6879
parent28aadf51693f56c41326ebbc795318a49011b12d
xfs: convert to alloc_workqueue()

Convert from create[_singlethread]_workqueue() to alloc_workqueue().

* xfsdatad_workqueue and xfsconvertd_workqueue are identity converted.
  Using higher concurrency limit might be useful but given the
  complexity of workqueue usage in xfs, proceeding cautiously seems
  better.

* xfs_mru_reap_wq is converted to non-ordered workqueue with max
  concurrency of 1 as the work items don't require any specific
  ordering and already have proper synchronization.  It seems it was
  singlethreaded to save worker threads, which is no longer a concern.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Alex Elder <aelder@sgi.com>
Cc: xfs-masters@oss.sgi.com
Cc: Christoph Hellwig <hch@infradead.org>
fs/xfs/linux-2.6/xfs_buf.c
fs/xfs/xfs_mru_cache.c