NFS client bugfixes for Linux 6.10
Bugfixes: - SUNRPC one more fix for the NFSv4.x backchannel timeouts -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEESQctxSBg8JpV8KqEZwvnipYKAPIFAmaAUuUACgkQZwvnipYK APKO2A//XjinP2LBsPPtjNCrZRujWgYZDblymXeFyZKh8LEsORojvaijtE959VXQ loPxmybv5Ht7Zg1p5vxRF00T6MX4eza50JAUfxa7QaUYTDMF7MX2sR1217aG2ht/ ccmWLz4+JiuSbiPyOHYgY044KXMN9jLth1PjaBn6Efw4waQTyL7nI9dm7Mu/miij eyIYzDl2gb2XyB6+qG528XWi3nA57OGV3vHvET8S15Rvq6LwdYdnJykk/cG7uVkp 00ZsdotVBUtnGyrQrcbZulzqVdKRYCYrmWK33UhP9NSDazf9ou89ieTZqyFi2+8m 46rSmLmW2rx6u37he46ZVjly+0PFWGZaO/U/Qj7e19iA5bp5C8Sp5z8igo3dG93p 1SFNGH4SKJ6IuNz3mWfhza25/sV0ZTdVSDgGazzVpf/dHOdBJ24Btjo2ANo9oxct 3BP4k6mXrZyQse967WjOQIhGXC7DAwzU9rw0hLDd6PPQD+SA8KsIn3P4PFJSGqOP VGE5QK2mGRUHUypo/b2YPueXHxLxN2NJv+xLvd/IiAUr0km8hcITnrhOgAf297/j BK1qv2PdKhTFc0NTZ7frXrBV5hpbws98z5JOVq/lkt9spGqEdtjUzSeCd4gpJAWk abHpHI59OZH8Byt9nJllDn/BbNJTDhk//dnytt4iklm1yllKs6k= =c5Ek -----END PGP SIGNATURE----- Merge tag 'nfs-for-6.10-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs Pull NFS client fix from Trond Myklebust: - One more SUNRPC fix for the NFSv4.x backchannel timeouts * tag 'nfs-for-6.10-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs: SUNRPC: Fix backchannel reply, again
This commit is contained in:
commit
8282d5af7b
@ -1557,9 +1557,11 @@ out_drop:
|
|||||||
*/
|
*/
|
||||||
void svc_process_bc(struct rpc_rqst *req, struct svc_rqst *rqstp)
|
void svc_process_bc(struct rpc_rqst *req, struct svc_rqst *rqstp)
|
||||||
{
|
{
|
||||||
|
struct rpc_timeout timeout = {
|
||||||
|
.to_increment = 0,
|
||||||
|
};
|
||||||
struct rpc_task *task;
|
struct rpc_task *task;
|
||||||
int proc_error;
|
int proc_error;
|
||||||
struct rpc_timeout timeout;
|
|
||||||
|
|
||||||
/* Build the svc_rqst used by the common processing routine */
|
/* Build the svc_rqst used by the common processing routine */
|
||||||
rqstp->rq_xid = req->rq_xid;
|
rqstp->rq_xid = req->rq_xid;
|
||||||
@ -1612,6 +1614,7 @@ void svc_process_bc(struct rpc_rqst *req, struct svc_rqst *rqstp)
|
|||||||
timeout.to_initval = req->rq_xprt->timeout->to_initval;
|
timeout.to_initval = req->rq_xprt->timeout->to_initval;
|
||||||
timeout.to_retries = req->rq_xprt->timeout->to_retries;
|
timeout.to_retries = req->rq_xprt->timeout->to_retries;
|
||||||
}
|
}
|
||||||
|
timeout.to_maxval = timeout.to_initval;
|
||||||
memcpy(&req->rq_snd_buf, &rqstp->rq_res, sizeof(req->rq_snd_buf));
|
memcpy(&req->rq_snd_buf, &rqstp->rq_res, sizeof(req->rq_snd_buf));
|
||||||
task = rpc_run_bc_task(req, &timeout);
|
task = rpc_run_bc_task(req, &timeout);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user