From: Yang Sheng Date: Mon, 13 May 2024 14:44:16 +0000 (+0800) Subject: LU-17847 sec: wake up for rsc entry X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=da4a6beb7c3a9b8e93b1a5ddf68c94d4ebae7cca;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. Lustre-change: https://review.whamcloud.com/55094 Lustre-commit: 99b1a2b5df9cffeae68ec88dfe784881109386d8 Signed-off-by: Yang Sheng Change-Id: I87d1e5a9687056c8ee2428aad45dafda16247de2 Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55222 Reviewed-by: Andreas Dilger Tested-by: jenkins Tested-by: Maloo --- diff --git a/lustre/ptlrpc/gss/gss_svc_upcall.c b/lustre/ptlrpc/gss/gss_svc_upcall.c index 1dcc49c..70f4c70 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; }