OSDN Git Service

SUNRPC: Don't reset the request 'bytes_sent' counter when releasing XPRT_LOCK
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 1 Sep 2018 18:20:12 +0000 (14:20 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:15 +0000 (15:35 -0400)
commit04b3b88fbfe63923ec1e9406efea7a889d148d8f
treefcd7f2e819c080553550fc478b795b8f15a6d742
parent50f484e298218b7271fad8a23bd44c82fb3110e1
SUNRPC: Don't reset the request 'bytes_sent' counter when releasing XPRT_LOCK

If the request is still on the queue, this will be incorrect behaviour.

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