OSDN Git Service

xprtrdma: Toggle XPRT_CONGESTED in xprtrdma's slot methods
authorChuck Lever <chuck.lever@oracle.com>
Mon, 19 Aug 2019 22:43:17 +0000 (18:43 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 20 Aug 2019 18:06:03 +0000 (14:06 -0400)
commit395790566eec37706dedeb94779045adc3a7581e
tree3486f83f125d7227f8b5a2b78d9cb6d9e1ea0fd8
parenteed48a9c161588544999ee8d451392921d846ee8
xprtrdma: Toggle XPRT_CONGESTED in xprtrdma's slot methods

Commit 48be539dd44a ("xprtrdma: Introduce ->alloc_slot call-out for
xprtrdma") added a separate alloc_slot and free_slot to the RPC/RDMA
transport. Later, commit 75891f502f5f ("SUNRPC: Support for
congestion control when queuing is enabled") modified the generic
alloc/free_slot methods, but neglected the methods in xprtrdma.

Found via code review.

Fixes: 75891f502f5f ("SUNRPC: Support for congestion control ... ")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/transport.c