dlm: Use cmwq for send and receive workqueues
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 12 Nov 2010 12:12:29 +0000 (12:12 +0000)
committerDavid Teigland <teigland@redhat.com>
Fri, 12 Nov 2010 17:08:03 +0000 (11:08 -0600)
commitdcce240ead802d42b1e45ad2fcb2ed4a399cb255
treef9531f06ad6e0987d3c6782cfe0a7ed335d82e48
parentb36930dd508e00f0c5083bcd57d25de6d0375c76
dlm: Use cmwq for send and receive workqueues

So far as I can tell, there is no reason to use a single-threaded
send workqueue for dlm, since it may need to send to several sockets
concurrently. Both workqueues are set to WQ_MEM_RECLAIM to avoid
any possible deadlocks, WQ_HIGHPRI since locking traffic is highly
latency sensitive (and to avoid a priority inversion wrt GFS2's
glock_workqueue) and WQ_FREEZABLE just in case someone needs to do
that (even though with current cluster infrastructure, it doesn't
make sense as the node will most likely land up ejected from the
cluster) in the future.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c