md-cluster: convert the completion to wait queue
authorGuoqing Jiang <gqjiang@suse.com>
Fri, 12 Aug 2016 05:42:41 +0000 (13:42 +0800)
committerShaohua Li <shli@fb.com>
Fri, 9 Sep 2016 18:09:24 +0000 (11:09 -0700)
commit1e2c0ab7a1f99fb6c19b1b9bf64a4feb2bf0996f
tree82b48e96218df0d9e0192965a1578c8c1eee7604
parenta70f4ebc3eb1939fd705480af8147c965da37b5f
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>
drivers/md/md-cluster.c
This page took 0.025666 seconds and 5 git commands to generate.