Whamcloud - gitweb
EX-9392 sec: use IDENTITY_UPCALL_INTERNAL
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 18 Jun 2024 15:26:10 +0000 (17:26 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 19 Jun 2024 05:35:42 +0000 (05:35 +0000)
Use defined IDENTITY_UPCALL_INTERNAL instead of raw string "INTERNAL".

Test-Parameters: trivial
Fixes: b5e421625b ("EX-9392 sec: use dedicated INTERNAL upcall cache")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I0bcae8de4ad585a644c9352e523d15b0eb387226
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55460
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/mdt/mdt_handler.c

index 1e7dfae..745dcae 100644 (file)
@@ -6250,7 +6250,7 @@ static int mdt_init0(const struct lu_env *env, struct mdt_device *m,
        snprintf(cache_internal, sizeof(cache_internal), "%s_int",
                 mdt_obd_name(m));
        m->mdt_identity_cache_int = upcall_cache_init(cache_internal,
-                                               "INTERNAL",
+                                               IDENTITY_UPCALL_INTERNAL,
                                                UC_IDCACHE_HASH_SIZE,
                                                1200, /* entry expire: 20 mn */
                                                30, /* acquire expire: 30 s */