diff options
author | Trond Myklebust <[email protected]> | 2018-12-04 07:52:11 -0500 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2018-12-05 07:10:06 -0500 |
commit | c443305529d1d3d3bee0d68fdd14ae89835e091f (patch) | |
tree | 0d66728dfa1f6c85bcffb69456c838788c515bfe /scripts/gdb/linux/lists.py | |
parent | 0a9a4304f3614e25d9de9b63502ca633c01c0d70 (diff) |
SUNRPC: Fix RPC receive hangs
The RPC code is occasionally hanging when the receive code fails to
empty the socket buffer due to a partial read of the data. When we
convert that to an EAGAIN, it appears we occasionally leave data in the
socket. The fix is to just keep reading until the socket returns
EAGAIN/EWOULDBLOCK.
Reported-by: Catalin Marinas <[email protected]>
Reported-by: Cristian Marussi <[email protected]>
Reported-by: Chuck Lever <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Tested-by: Catalin Marinas <[email protected]>
Tested-by: Cristian Marussi <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions