]> 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)
commit402368d6c65b0cb5b90bf9549641d3314a824703
tree2c164cb578ed7c0e85b659f1b339cfbfe8a26a81
parent2083b675dfb5a7adca767fa1c53dd83e667b17b2
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