diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-08-13 23:54:57 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-09-30 22:35:14 +0300 |
commit | 6c7a64e5a44dbc6d073b83a56a48d0a4099f1dd2 (patch) | |
tree | 1132aea419985a086e4b7760b31345905f6adb7b /include | |
parent | e1806c7bfb803408df4dc53dfe502ffab0f46a67 (diff) | |
download | linux-6c7a64e5a44dbc6d073b83a56a48d0a4099f1dd2.tar.xz |
SUNRPC: Add socket transmit queue offset tracking
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/xprtsock.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprtsock.h b/include/linux/sunrpc/xprtsock.h index 90d5ca8e65f4..005cfb6e7238 100644 --- a/include/linux/sunrpc/xprtsock.h +++ b/include/linux/sunrpc/xprtsock.h @@ -43,6 +43,13 @@ struct sock_xprt { } recv; /* + * State of TCP transmit queue + */ + struct { + u32 offset; + } xmit; + + /* * Connection of transports */ unsigned long sock_state; |