linux/net/sunrpc/xprtrdma
Chuck Lever f222873711 svcrdma: Prevent page release when nothing was received
[ Upstream commit baf6d18b11 ]

I noticed that svc_rqst_release_pages() was still unnecessarily
releasing a page when svc_rdma_recvfrom() returns zero.

Fixes: a53d5cb064 ("svcrdma: Avoid releasing a page in svc_xprt_release()")
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-23 13:46:45 +02:00
..
backchannel.c xprtrdma: Eliminate rpcrdma_post_sends() 2021-08-09 16:42:25 -04:00
frwr_ops.c xprtrdma: Add an xprtrdma_post_send_err tracepoint 2021-08-09 16:42:18 -04:00
Makefile svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
module.c SUNRPC: xprt_load_transport() needs to support the netid "rdma6" 2020-12-02 14:05:52 -05:00
rpc_rdma.c xprtrdma: treat all calls not a bcall when bc_serv is NULL 2022-06-14 18:36:16 +02:00
svc_rdma_backchannel.c svcrdma: Normalize Send page handling 2021-03-22 13:22:13 -04:00
svc_rdma_pcl.c svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
svc_rdma_recvfrom.c svcrdma: Prevent page release when nothing was received 2023-07-23 13:46:45 +02:00
svc_rdma_rw.c SUNRPC: Trap RDMA segment overflows 2022-06-14 18:36:16 +02:00
svc_rdma_sendto.c svcrdma: Relieve contention on sc_send_lock. 2021-08-17 11:47:53 -04:00
svc_rdma_transport.c SUNRPC: always free ctxt when freeing deferred request 2023-05-24 17:36:51 +01:00
svc_rdma.c svcrdma: Deprecate stat variables that are no longer used 2021-01-25 09:36:28 -05:00
transport.c SUNRPC/xprt: async tasks mustn't block waiting for memory 2022-04-13 20:59:12 +02:00
verbs.c xprtrdma: Fix regbuf data not freed in rpcrdma_req_create() 2022-12-31 13:14:16 +01:00
xprt_rdma.h xprtrdma: Eliminate rpcrdma_post_sends() 2021-08-09 16:42:25 -04:00