diff options
| author | Avi Weiss <thnkslprpt@gmail.com> | 2026-10-20 10:14:55 +0300 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@hammerspace.com> | 2026-11-09 15:04:53 -0500 |
| commit | 702d55edc017632a0c39c1d4bdd579bdbadfd730 (patch) | |
| tree | 0ed69dd4fcc64024a8f1f3924e49ed469335d1d8 /rust/kernel/alloc | |
| parent | 89b91409b2342e7629b1271eba315a0f06495247 (diff) | |
SUNRPC: wake poll waiters when an empty pipe is unlinked
When an empty rpc_pipefs pipe is unlinked, rpc_purge_list() returns
without waking the pipe wait queue. An existing epoll waiter can
remain blocked even though rpc_pipe_poll() reports EPOLLHUP and
EPOLLERR for the disconnected pipe.
Wake the wait queue after clearing RPC_I(inode)->pipe so existing
poll waiters are notified regardless of whether messages were purged.
Fixes: 9842ef3557ab ("SUNRPC: rpc_timeout_upcall_queue should not sleep")
Signed-off-by: Avi Weiss <thnkslprpt@gmail.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
