]> git.baikalelectronics.ru Git - kernel.git/commit
dlm: use workqueue for callbacks
authorDavid Teigland <teigland@redhat.com>
Tue, 5 Apr 2011 18:16:24 +0000 (13:16 -0500)
committerDavid Teigland <teigland@redhat.com>
Fri, 15 Jul 2011 17:30:43 +0000 (12:30 -0500)
commit436898410c5104601c328743adc6f01e276e7a68
tree7c94bc4eeb9dfd85a26869003c56dc45fc6fd697
parente4e4a6f5054cdfc8b1ce3ca1b8e3162dba273d02
dlm: use workqueue for callbacks

Instead of creating our own kthread (dlm_astd) to deliver
callbacks for all lockspaces, use a per-lockspace workqueue
to deliver the callbacks.  This eliminates complications and
slowdowns from many lockspaces sharing the same thread.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/ast.c
fs/dlm/ast.h
fs/dlm/dlm_internal.h
fs/dlm/lock.c
fs/dlm/lockspace.c
fs/dlm/recoverd.c
fs/dlm/user.c