From: Yang Sheng Date: Mon, 13 May 2024 14:44:16 +0000 (+0800) Subject: LU-17847 sec: wake up for rsc entry X-Git-Tag: 2.15.64~157 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=99b1a2b5df9cffeae68ec88dfe784881109386d8;p=fs%2Flustre-release.git 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 --- 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; }