diff options
author | 2022-03-15 08:12:40 -0400 | |
---|---|---|
committer | 2022-03-22 15:52:55 -0400 | |
commit | 2790a624d43084de590884934969e19c7a82316a (patch) | |
tree | a2f7c22a34cc918da7a147d3d21618fc0c0a8566 /include/linux/sunrpc | |
parent | SUNRPC: Fix socket waits for write buffer space (diff) | |
download | linux-2790a624d43084de590884934969e19c7a82316a.tar.gz linux-2790a624d43084de590884934969e19c7a82316a.tar.bz2 linux-2790a624d43084de590884934969e19c7a82316a.zip |
SUNRPC: Replace internal use of SOCKWQ_ASYNC_NOSPACE
The socket's SOCKWQ_ASYNC_NOSPACE can be cleared by various actors in
the socket layer, so replace it with our own flag in the transport
sock_state field.
Reported-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/xprtsock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprtsock.h b/include/linux/sunrpc/xprtsock.h index 689062afdd61..3eb0079669c5 100644 --- a/include/linux/sunrpc/xprtsock.h +++ b/include/linux/sunrpc/xprtsock.h @@ -90,5 +90,6 @@ struct sock_xprt { #define XPRT_SOCK_WAKE_PENDING (6) #define XPRT_SOCK_WAKE_DISCONNECT (7) #define XPRT_SOCK_CONNECT_SENT (8) +#define XPRT_SOCK_NOSPACE (9) #endif /* _LINUX_SUNRPC_XPRTSOCK_H */ |