]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xprtrdma: Fix I3 invariant comment in rpcrdma_complete_rqst
authorChuck Lever <chuck.lever@oracle.com>
Mon, 1 Jun 2026 17:54:12 +0000 (13:54 -0400)
committerAnna Schumaker <anna.schumaker@hammerspace.com>
Mon, 8 Jun 2026 14:21:56 +0000 (10:21 -0400)
commit04dd9cdbe59a9056b4cc8de07e1585db77661cbc
tree6e627f29ebcab6bcb679d32cb4c5582a8a2d50c3
parent797943e8bd1ffcc63bfe79d24faad9a77054ec40
xprtrdma: Fix I3 invariant comment in rpcrdma_complete_rqst

frwr_unmap_sync() and frwr_unmap_async() drain rl_registered via
rpcrdma_mr_pop() before posting invalidation Work Requests to
hardware.  The WARN_ON_ONCE verifies that the list-drain step
has occurred, not that hardware unmapping has completed.

Reword the comment to match what the assertion actually checks.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
net/sunrpc/xprtrdma/rpc_rdma.c