ocfs2: use system_wq instead of ocfs2_quota_wq
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)
commit316873c958eee302952edcadb8dc72d6d3d19d3c
tree9d9194ca6df360f6df1cfd6de13ab6e1e36d6501
parentfd89d5f2030ac83324330bfd0bc73abf1beadaa6
ocfs2: use system_wq instead of ocfs2_quota_wq

ocfs2_quota_wq is not depended upon during memory reclaim and, with
cmwq, there's no reason to use a dedicated workqueue.  Drop
ocfs2_quota_wq and use system_wq instead.  dqi_sync_work is already
sync canceled on quota disable and no further synchronization is
necessary.

This change makes ocfs2_quota_setup/shutdown() noops.  Both functions
removed.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/quota.h
fs/ocfs2/quota_global.c
fs/ocfs2/super.c