]> git.karo-electronics.de Git - linux-beck.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)
commit23e8e1aaacb10d9f05e44a93e10ea4ee5b3838a5
tree7c94bc4eeb9dfd85a26869003c56dc45fc6fd697
parent883ba74f43092823d0ed4c6b21f0171e9b334607
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