]> git.ipfire.org Git - thirdparty/linux.git/commit
sunrpc: convert queue_wait from global to per-cache-detail waitqueue
authorJeff Layton <jlayton@kernel.org>
Mon, 23 Feb 2026 17:10:00 +0000 (12:10 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Mar 2026 01:25:09 +0000 (21:25 -0400)
commit552d0e17ea042fc4f959c4543cbbd0e54de7a8e9
tree7191e74bcbc0d6f1cfaa972f15fbdc91a61ee63f
parent17c1d66579ff27a7a8f2f407d1425272ff6fdd8c
sunrpc: convert queue_wait from global to per-cache-detail waitqueue

The queue_wait waitqueue is currently a file-scoped global, so a
wake_up for one cache_detail wakes pollers on all caches. Convert it
to a per-cache-detail field so that only pollers on the relevant cache
are woken.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/cache.h
net/sunrpc/cache.c