]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Add a helper to wake up a sleeping rpc_task and set its status
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 29 Aug 2018 13:22:28 +0000 (09:22 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:14 +0000 (15:35 -0400)
commit04ff71665ea8a2889f9f528ef39b7548652bb74f
tree4715c9cde6b8a7e88fb61fc6382d551e4e4e31ba
parent9e1dae11164293fc516d1fdb835879ec935df336
SUNRPC: Add a helper to wake up a sleeping rpc_task and set its status

Add a helper that will wake up a task that is sleeping on a specific
queue, and will set the value of task->tk_status. This is mainly
intended for use by the transport layer to notify the task of an
error condition.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/sched.h
net/sunrpc/sched.c