]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Allow calls to xprt_transmit() to drain the entire transmit queue
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 29 Aug 2018 21:40:55 +0000 (17:40 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:15 +0000 (15:35 -0400)
commit1ae0d24a95772ad70ae6cda2c9042fd4047265fe
tree2c164cb578ed7c0e85b659f1b339cfbfe8a26a81
parentffd8e9748c2f44980bc81b6c2fa20726250b0710
SUNRPC: Allow calls to xprt_transmit() to drain the entire transmit queue

Rather than forcing each and every RPC task to grab the socket write
lock in order to send itself, we allow whichever task is holding the
write lock to attempt to drain the entire transmit queue.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprt.c