commit | 0d01af6e5dd6bc7abbcb6331021f8fee18005540 | [log] [tgz] |
---|---|---|
author | Sunil Mushran <sunil.mushran@oracle.com> | Tue Apr 17 13:32:20 2007 -0700 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Thu Apr 26 13:33:11 2007 -0700 |
tree | 39a5bdba2562512579a6f5e5d46c515bfc96394a | |
parent | 756a1501ddbbe73098aa031939460930f6edc9cd [diff] |
ocfs2_dlm: Call cond_resched_lock() once per hash bucket scan In dlm_migrate_all_locks(), we currently call cond_resched_lock() after processing each lockres in a hash bucket. Move it outside the loop so as to call it only after the entire hash bucket has been processed. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>