Whamcloud - gitweb
LU-17015 obdclass: new primitives for upcall cache
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 15 Sep 2023 11:23:19 +0000 (13:23 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 28 Sep 2023 08:46:49 +0000 (08:46 +0000)
commit0f8e41985f8680bc75b2b50be247ffb8f25c1fbf
treec586bc51eab5d9dc038e47df9bf6759f9e18e1d7
parentd2efe0140936e5d6f7ae2c67f8780a131655e039
LU-17015 obdclass: new primitives for upcall cache

This patch adds 2 new primitives to the upcall cache mechanism:
- upcall_cache_get_entry_raw: get a ref on an existing entry;
- upcall_cache_update_entry: modify expiry time and state of an entry.

Lustre-change: https://review.whamcloud.com/52389
Lustre-commit: 2ddb1d33245c23c4cafe64fb917323bdf567c81f

Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I4825f09ae807abb52ebe0e24719dcd915e8c8aef
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52497
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/upcall_cache.h
lustre/obdclass/upcall_cache.c