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>
Showing
- fs/dlm/ast.c 114 additions, 148 deletionsfs/dlm/ast.c
- fs/dlm/ast.h 8 additions, 7 deletionsfs/dlm/ast.h
- fs/dlm/dlm_internal.h 8 additions, 1 deletionfs/dlm/dlm_internal.h
- fs/dlm/lock.c 12 additions, 12 deletionsfs/dlm/lock.c
- fs/dlm/lockspace.c 21 additions, 22 deletionsfs/dlm/lockspace.c
- fs/dlm/recoverd.c 3 additions, 9 deletionsfs/dlm/recoverd.c
- fs/dlm/user.c 6 additions, 6 deletionsfs/dlm/user.c
Loading
Please register or sign in to comment