Whamcloud - gitweb
LU-4591 lov: cancel ungranted sub lock 51/9851/2
authorShuichi Ihara <sihara@ddn.com>
Sat, 29 Mar 2014 05:29:20 +0000 (14:29 +0900)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 22 Apr 2014 02:02:50 +0000 (02:02 +0000)
commitecfc109714f69ccd97f26b5d30e8d1a42d9b98ad
tree9bc2086a7645f88415f71dd2094238739f0cab5f
parent05aa9f4cbd0c673077319b6182f776f3cb9567b8
LU-4591 lov: cancel ungranted sub lock

When the top lock is canceled due to error, we should cancel
ungranted sub lock otherwise the sublock state is undefined.

backport from http://review.whamcloud.com/9524

Signed-off-by: Shuichi Ihara <sihara@ddn.com>
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: Ifa68743cd5bf3a9d69258014d066124fd7fc87c9
Reviewed-on: http://review.whamcloud.com/9851
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lov/lov_lock.c