mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
[DLM] schedule during long loop through locks
The loop through all waiting locks in recover_waiters can potentially be long, so we should schedule explicitly. Signed-off-by: David Teigland <[email protected]> Signed-off-by: Steven Whitehouse <[email protected]>
This commit is contained in:
parent
2b4e926aab
commit
81456807a3
1 changed files with 1 additions and 0 deletions
|
|
@ -3193,6 +3193,7 @@ void dlm_recover_waiters_pre(struct dlm_ls *ls)
|
|||
log_error(ls, "invalid lkb wait_type %d",
|
||||
lkb->lkb_wait_type);
|
||||
}
|
||||
schedule();
|
||||
}
|
||||
mutex_unlock(&ls->ls_waiters_mutex);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue