]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SUNRPC: Optimise away svc_recv_available
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 3 Aug 2014 17:03:13 +0000 (13:03 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 17 Aug 2014 16:00:11 +0000 (12:00 -0400)
commitf8d1ff47b6858c1a26a658060c18a778696636db
tree8e5f87dd99a3fcc5cc8f3ff0c8be98167e34e779
parent0c0746d03eac70e12bcb39e7f1c7f0a1dd31123c
SUNRPC: Optimise away svc_recv_available

We really do not want to do ioctls in the server's fast path. Instead, let's
use the fact that we managed to read a full record as the indicator that
we should try to read the socket again.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c