aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Guoqing Jiang <gqjiang@suse.com> 2016-08-12 13:42:43 +0800
committerGravatar Shaohua Li <shli@fb.com> 2016-09-21 09:09:44 -0700
commitd6385db94196b253ae5eb3678fa95cdf1f839fcc (patch)
tree5773690f74d0ff68216247c330815df5d0820b35 /lib
parentmd-cluster: introduce dlm_lock_sync_interruptible to fix tasks hang (diff)
downloadlinux-d6385db94196b253ae5eb3678fa95cdf1f839fcc.tar.gz
linux-d6385db94196b253ae5eb3678fa95cdf1f839fcc.tar.bz2
linux-d6385db94196b253ae5eb3678fa95cdf1f839fcc.zip
md-cluster: make resync lock also could be interruptted
When one node is perform resync or recovery, other nodes can't get resync lock and could block for a while before it holds the lock, so we can't stop array immediately for this scenario. To make array could be stop quickly, we check MD_CLOSING in dlm_lock_sync_interruptible to make us can interrupt the lock request. 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')
0 files changed, 0 insertions, 0 deletions