]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md-cluster: add the error check if failed to get dlm lock
authorGuoqing Jiang <gqjiang@suse.com>
Fri, 10 Jul 2015 09:01:17 +0000 (17:01 +0800)
committerNeilBrown <neilb@suse.com>
Mon, 31 Aug 2015 17:41:56 +0000 (19:41 +0200)
commitb5ef56789b808a57fcd07271ff509911662fd877
tree829be9cdca65a521f8cba1caf765f7acba59310c
parentb83d51c0785c34d552111f38fbecbe00cd58b913
md-cluster: add the error check if failed to get dlm lock

In complicated cluster environment, it is possible that the
dlm lock couldn't be get/convert on purpose, the related err
info is added for better debug potential issue.

For lockres_free, if the lock is blocking by a lock request or
conversion request, then dlm_unlock just put it back to grant
queue, so need to ensure the lock is free finally.

Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/md-cluster.c