summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2018-08-31 10:00:02 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-09-30 15:35:14 -0400
commit4cd34e7c2e412e3db2f6bf7371581ab60591174b (patch)
tree0cee0ff3eb28a529dc419aa02400defd3a74ab6f /include/linux
parent6c7a64e5a44dbc6d073b83a56a48d0a4099f1dd2 (diff)
downloadcachepc-linux-4cd34e7c2e412e3db2f6bf7371581ab60591174b.tar.gz
cachepc-linux-4cd34e7c2e412e3db2f6bf7371581ab60591174b.zip
SUNRPC: Simplify dealing with aborted partially transmitted messages
If the previous message was only partially transmitted, we need to close the socket in order to avoid corruption of the message stream. To do so, we currently hijack the unlocking of the socket in order to schedule the close. Now that we track the message offset in the socket state, we can move that kind of checking out of the socket lock code, which is needed to allow messages to remain queued after dropping the socket lock. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions