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)
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

diff --cc fs/dlm/ast.c
Simple merge
diff --cc fs/dlm/ast.h
Simple merge
Simple merge
diff --cc fs/dlm/lock.c
Simple merge
Simple merge
Simple merge
diff --cc fs/dlm/user.c
Simple merge