aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/svc_xprt.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-07-24 23:59:33 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-07-29 16:10:20 -0400
commit518776800c094a518ae6d303660b57f1400eb1eb (patch)
tree5b61d53a0ba2ff0a24cc47dc2a0cc5bac151b654 /include/linux/sunrpc/svc_xprt.h
parentSUNRPC: svc_tcp_write_space: don't clear SOCK_NOSPACE prematurely (diff)
downloadlinux-dev-518776800c094a518ae6d303660b57f1400eb1eb.tar.xz
linux-dev-518776800c094a518ae6d303660b57f1400eb1eb.zip
SUNRPC: Allow svc_reserve() to notify TCP socket that space has been freed
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc/svc_xprt.h')
-rw-r--r--include/linux/sunrpc/svc_xprt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h
index 5d9d6f84b382..ce6e4182a5b2 100644
--- a/include/linux/sunrpc/svc_xprt.h
+++ b/include/linux/sunrpc/svc_xprt.h
@@ -25,6 +25,7 @@ struct svc_xprt_ops {
void (*xpo_detach)(struct svc_xprt *);
void (*xpo_free)(struct svc_xprt *);
int (*xpo_secure_port)(struct svc_rqst *);
+ void (*xpo_adjust_wspace)(struct svc_xprt *);
};
struct svc_xprt_class {