Whamcloud - gitweb
LU-15472 ldlm: optimize flock reprocess
authorAndriy Skulysh <c17819@cray.com>
Fri, 5 Nov 2021 10:55:08 +0000 (12:55 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 14 Oct 2022 20:01:09 +0000 (20:01 +0000)
commit2c8c167dab0cc64782d637b15855028af6c25453
tree6797db9c804657d8e51b93b1c3727417929611a0
parentb2b12fdf408de54321fdae8db57d52948df39540
LU-15472 ldlm: optimize flock reprocess

Resource reprocess on flock unlock can be done once
after all pending unlock requests.
It allows to reduce spinlock contention.

Lustre-change: https://review.whamcloud.com/46257
Lustre-commit: 42f377db4a24cefa7a041fcd3106dd58771eb319

Change-Id: I2809070f27fe3af7e1fc34e2b4b22603931f3dff
HPE-bug-id: LUS-10471, LUS-10909
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/48818
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_flock.c
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_resource.c