Whamcloud - gitweb
LU-12828 ldlm: FLOCK request can be processed twice 40/36340/4
authorAndriy Skulysh <c17819@cray.com>
Thu, 9 Aug 2018 14:58:17 +0000 (17:58 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 14 Dec 2019 05:56:32 +0000 (05:56 +0000)
commit85a12c6c8d7a6d40fc81c73f9b900475b58e3e98
tree82d5b9b698e9e616f99fafcb193be2cf3b09908d
parent1d2aa1513dc4e65813ad0bea138966a55244dbde
LU-12828 ldlm: FLOCK request can be processed twice

Original request can be processed after resend
request, so it can create a lock on MDT without
client lock or unlock other lock.

Make flock enqueue to use modify RPC slot.

Change-Id: Icfee202fe2e389beda1116f78f8b933c7ea182fb
Cray-bug-id: LUS-5739
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Signed-off-by: Vitaly Fertman <c17818@cray.com>
Reviewed-by: Alexander Boyko <c17825@cray.com>
Reviewed-by: Andrew Perepechko <c17827@cray.com>
Reviewed-on: https://review.whamcloud.com/36340
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Alexandr Boyko <c17825@cray.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
14 files changed:
lustre/include/lu_target.h
lustre/include/lustre_dlm.h
lustre/include/lustre_mdc.h
lustre/include/lustre_net.h
lustre/include/obd_class.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/mdc/mdc_locks.c
lustre/mdc/mdc_reint.c
lustre/mdc/mdc_request.c
lustre/obdclass/genops.c
lustre/ptlrpc/client.c
lustre/target/tgt_lastrcvd.c