summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
authorTrond Myklebust2009-03-11 19:37:57 +0100
committerTrond Myklebust2009-03-11 19:37:57 +0100
commit15f081ca8ddfe150fb639c591b18944a539da0fc (patch)
tree24261e97034770ab827d153cc541222e04701ac3 /net/sunrpc/xprtsock.c
parentNFS: load the rpc/rdma transport module automatically (diff)
downloadkernel-qcow2-linux-15f081ca8ddfe150fb639c591b18944a539da0fc.tar.gz
kernel-qcow2-linux-15f081ca8ddfe150fb639c591b18944a539da0fc.tar.xz
kernel-qcow2-linux-15f081ca8ddfe150fb639c591b18944a539da0fc.zip
SUNRPC: Avoid an unnecessary task reschedule on ENOTCONN
If the socket is unconnected, and xprt_transmit() returns ENOTCONN, we currently give up the lock on the transport channel. Doing so means that the lock automatically gets assigned to the next task in the xprt->sending queue, and so that task needs to be woken up to do the actual connect. The following patch aims to avoid that unnecessary task switch. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
0 files changed, 0 insertions, 0 deletions