Whamcloud - gitweb
LU-11290 ldlm: page discard speedup 27/39327/10
authorAlexander Zarochentsev <c17826@cray.com>
Sun, 31 May 2020 16:29:25 +0000 (19:29 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Nov 2020 10:19:12 +0000 (10:19 +0000)
commit0f48cd0b9856fe1ea920b8abab3579ded0b9511e
treeb17e395b7048ed9eaeb2843efeb36c05fee5a844
parent4ef8b4ddc26e5c6398feca742b4db00f82b0f384
LU-11290 ldlm: page discard speedup

Improving check_and_discard_cb, allowing to cache
negative result of dlm lock lookup and avoid
excessive osc_dlm_lock_at_pgoff() calls.

HPE-bug-id: LUS-6432
Change-Id: I253f944bf430b06d0e1a300d22e5d9b2e97412bf
Signed-off-by: Alexander Zarochentsev <c17826@cray.com>
Reviewed-on: https://review.whamcloud.com/39327
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@hpe.com>
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_dlm.h
lustre/include/lustre_osc.h
lustre/ldlm/ldlm_lock.c
lustre/osc/osc_cache.c
lustre/osc/osc_lock.c