commit | fccb60a42cdd863aa80f32214ae58ae13936c927 | [log] [tgz] |
---|---|---|
author | Guoqing Jiang <gqjiang@suse.com> | Fri Aug 12 13:42:41 2016 +0800 |
committer | Shaohua Li <shli@fb.com> | Wed Sep 21 09:09:44 2016 -0700 |
tree | 4af1e586d9250be17c8fb8f48042bd8d20d62055 | |
parent | 5f0aa21da6cc620b08e5f69f51db29cb1f722174 [diff] |
md-cluster: convert the completion to wait queue Previously, we used completion to sync between require dlm lock and sync_ast, however we will have to expose completion.wait and completion.done in dlm_lock_sync_interruptible (introduced later), it is not a common usage for completion, so convert related things to wait queue. Reviewed-by: NeilBrown <neilb@suse.com> Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>