diff options
author | 2016-08-12 13:42:41 +0800 | |
---|---|---|
committer | 2016-09-21 09:09:44 -0700 | |
commit | fccb60a42cdd863aa80f32214ae58ae13936c927 (patch) | |
tree | 4af1e586d9250be17c8fb8f48042bd8d20d62055 /lib/raid6/algos.c | |
parent | md-cluster: protect md_find_rdev_nr_rcu with rcu lock (diff) | |
download | wireguard-linux-fccb60a42cdd863aa80f32214ae58ae13936c927.tar.xz wireguard-linux-fccb60a42cdd863aa80f32214ae58ae13936c927.zip |
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>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions