Whamcloud - gitweb
LU-16371 ldlm: clear lock converting flag on resource cleanup
authorBobi Jam <bobijam@whamcloud.com>
Wed, 7 Dec 2022 16:03:20 +0000 (00:03 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 25 Apr 2023 03:35:45 +0000 (03:35 +0000)
commit31935ee109bbdc54ced00ab63df2d2904a24d939
treed57cefb2fa2f2ee42dd51c1dad045b20328d60a0
parent17508dbd0a13ba53460c0431605a5d96472f6ea7
LU-16371 ldlm: clear lock converting flag on resource cleanup

During resource cleanup clear lock's converting flag so that
ldlm_cli_cancel() won't erroneously trip the assertion, the assertion
is used for normal lock revoke callbacks.

Lustre-change: https://review.whamcloud.com/49339
Lustre-commit: 4990f4ef5eb81d8017c9992c1f6924527dc8ce60

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I1be4d7f16dbc7e026b460fd5358a0fe509b97a59
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49337
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ldlm/ldlm_resource.c