diff options
author | Kurt Hackel <kurt.hackel@oracle.com> | 2006-05-01 14:39:29 -0700 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-06-26 14:43:18 -0700 |
commit | 3156d267016627fe427a6b0d4ed8a9678557e91e (patch) | |
tree | fec0545da2e9593d1b5a2db4dd0d7360203cee4d /fs/ocfs2/dlm/dlmmaster.c | |
parent | 495ac96e638cb0ad33baa7113531d742bfb328d4 (diff) | |
download | op-kernel-dev-3156d267016627fe427a6b0d4ed8a9678557e91e.zip op-kernel-dev-3156d267016627fe427a6b0d4ed8a9678557e91e.tar.gz |
ocfs2: move dlm work to a private work queue
The work that is done can block for long periods of time and so is not
appropriate for keventd.
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmmaster.c')
-rw-r--r-- | fs/ocfs2/dlm/dlmmaster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c index f186e09..733d9a5 100644 --- a/fs/ocfs2/dlm/dlmmaster.c +++ b/fs/ocfs2/dlm/dlmmaster.c @@ -1962,7 +1962,7 @@ int dlm_dispatch_assert_master(struct dlm_ctxt *dlm, list_add_tail(&item->list, &dlm->work_list); spin_unlock(&dlm->work_lock); - schedule_work(&dlm->dispatched_work); + queue_work(dlm->dlm_worker, &dlm->dispatched_work); return 0; } |