reiserfs: make commit_wq use the default concurrency level
authorTejun Heo <tj@kernel.org>
Tue, 1 Feb 2011 10:42:42 +0000 (11:42 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 1 Feb 2011 10:42:42 +0000 (11:42 +0100)
commit28aadf51693f56c41326ebbc795318a49011b12d
tree18fe5ba43f28495407d6a46d61203efb99b978f9
parent316873c958eee302952edcadb8dc72d6d3d19d3c
reiserfs: make commit_wq use the default concurrency level

The maximum number of concurrent work items queued on commit_wq is
bound by the number of active journals.  Convert to alloc_workqueue()
and use the default concurrency level so that they can be processed in
parallel.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: reiserfs-devel@vger.kernel.org
fs/reiserfs/journal.c