Whamcloud - gitweb
LU-14833 sec: quiet spurious gss_init_svc_upcall() message
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 9 Jul 2021 12:52:40 +0000 (14:52 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 6 Aug 2021 03:00:56 +0000 (03:00 +0000)
Switch from CWARN to CDEBUG(D_SEC) for message printed by
gss_init_svc_upcall():
Init channel is not opened by lsvcgssd, following request might be
dropped until lsvcgssd is active
Indeed, this message is printed no matter GSS is enabled or not, and
we do not have any way to check this by the time the kernel module
is loaded.

Lustre-change: https://review.whamcloud.com/44197
Lustre-commit: 6a4be282bbbd5c6d92787abe9ae316e3c702192c

Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I66c8c2a16e58ca75973226c80e0f4a92c90b4025
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/44399
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ptlrpc/gss/gss_svc_upcall.c

index 845f0be..8eea3bb 100644 (file)
@@ -1167,8 +1167,8 @@ int __init gss_init_svc_upcall(void)
        }
 
        if (channel_users(&rsi_cache) == 0)
-               CWARN("Init channel is not opened by lsvcgssd, following "
-                     "request might be dropped until lsvcgssd is active\n");
+               CDEBUG(D_SEC,
+                      "Init channel is not opened by lsvcgssd, following request might be dropped until lsvcgssd is active\n");
 
        return 0;
 }