Whamcloud - gitweb
LU-17015 obdclass: new primitives for upcall cache 89/52389/2
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 15 Sep 2023 11:23:19 +0000 (13:23 +0200)
committerOleg Drokin <green@whamcloud.com>
Sat, 23 Sep 2023 06:04:40 +0000 (06:04 +0000)
commit2ddb1d33245c23c4cafe64fb917323bdf567c81f
tree091219337fdf98a1cce7d8fd734c157c7cc75190
parentd4094475c990d6ee8bf9e6e32a93f7c86a78f57a
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.

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