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>
这个提交包含在:
@@ -448,6 +448,8 @@ void svc_reserve(struct svc_rqst *rqstp, int space)
|
||||
atomic_sub((rqstp->rq_reserved - space), &xprt->xpt_reserved);
|
||||
rqstp->rq_reserved = space;
|
||||
|
||||
if (xprt->xpt_ops->xpo_adjust_wspace)
|
||||
xprt->xpt_ops->xpo_adjust_wspace(xprt);
|
||||
svc_xprt_enqueue(xprt);
|
||||
}
|
||||
}
|
||||
|
在新工单中引用
屏蔽一个用户