From 99b1a2b5df9cffeae68ec88dfe784881109386d8 Mon Sep 17 00:00:00 2001 From: Yang Sheng Date: Mon, 13 May 2024 22:44:16 +0800 Subject: [PATCH] LU-17847 sec: wake up for rsc entry We should wake up the waiter after rsc do_upcall. Otherwise it may be stuck for a long time. Signed-off-by: Yang Sheng Change-Id: I87d1e5a9687056c8ee2428aad45dafda16247de2 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55094 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Sebastien Buisson Reviewed-by: Aurelien Degremont Reviewed-by: Oleg Drokin --- lustre/ptlrpc/gss/gss_svc_upcall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/ptlrpc/gss/gss_svc_upcall.c b/lustre/ptlrpc/gss/gss_svc_upcall.c index 626e59b..ff04f8e 100644 --- a/lustre/ptlrpc/gss/gss_svc_upcall.c +++ b/lustre/ptlrpc/gss/gss_svc_upcall.c @@ -519,6 +519,7 @@ static inline int rsc_do_upcall(struct upcall_cache *cache, upcall_cache_update_entry(cache, entry, ktime_get_seconds() + cache->uc_entry_expire, 0); + wake_up(&entry->ue_waitq); return 0; } -- 1.8.3.1