Whamcloud - gitweb
- fixed bug in ldlm_cancel_lru_local(). It should cancel locks according to SLV only...
authoryury <yury>
Mon, 10 Sep 2007 14:00:20 +0000 (14:00 +0000)
committeryury <yury>
Mon, 10 Sep 2007 14:00:20 +0000 (14:00 +0000)
commitf71bf0a85d75f74594946db4b7f43108db3d9f5a
tree7087c57f0e72c9a5333096650d8bb0b143ea5301
parentec0efc8e814c9215a48891206d4b629e2d381028
- fixed bug in ldlm_cancel_lru_local(). It should cancel locks according to SLV only in the case of passed zero @count. If @count is not zero - cancel requested number of locks regardless SLV. Found by failure of sanityN test_20;
- raise error and return -EINVAL if ldlm_cancel_lru() did not cancel requested number of locks in case of sync cancel if lru resize is supported.
lustre/ldlm/ldlm_request.c
lustre/ldlm/ldlm_resource.c