Whamcloud - gitweb
LU-7791 ldlm: signal vs CP callback race 97/44297/2
authorAndriy Skulysh <c17819@cray.com>
Tue, 3 May 2016 07:41:56 +0000 (10:41 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 10 Aug 2021 06:34:58 +0000 (06:34 +0000)
commit8f4336481a482544f54b7e8a9d63340a57062d68
treeea7b678c554d479ee5f42448a8089fe7f7c92dd9
parent6030d0cfb15bfa4cfd7aaee4e3c2a34746424dd2
LU-7791 ldlm: signal vs CP callback race

In case of interrupted wait for a CP AST
failed_lock_cleanup() sets LDLM_FL_LOCAL_ONLY, so
the client wouldn't cancel the lock on CP AST.

A lock isn't canceled on the server on reception

Lustre-change: https://review.whamcloud.com/19898
Lustre-commit: 7fff052c930da4822c3b2a13d130da7473a20a58

Cray-bug-id: LUS-2021
Change-Id: Id1e365b41f1fb8a0f9a32c0c929457b22ceba8ef
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Alexander Boyko <c17825@cray.com>
Reviewed-by: Andrew Perepechko <c17827@cray.com>
Reviewed-by: Alexandr Boyko <c17825@cray.com>
Reviewed-on: https://review.whamcloud.com/44297
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/tests/sanityn.sh