diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2016-11-29 10:52:57 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-11-29 16:45:44 -0500 |
commit | a100fda1a2e1fa6c52373b9c7985a0bd3459bf4c (patch) | |
tree | e4c49a3f6a390938405da40e9906271d78930246 /net/unix/af_unix.c | |
parent | 48016dce46ad504a378849490bfb99c98be5cfaa (diff) | |
download | linux-a100fda1a2e1fa6c52373b9c7985a0bd3459bf4c.tar.gz linux-a100fda1a2e1fa6c52373b9c7985a0bd3459bf4c.tar.bz2 linux-a100fda1a2e1fa6c52373b9c7985a0bd3459bf4c.zip |
xprtrdma: Refactor FRMR invalidation
Clean up: After some recent updates, clarifications can be made to
the FRMR invalidation logic.
- Both the remote and local invalidation case mark the frmr INVALID,
so make that a common path.
- Manage the WR list more "tastefully" by replacing the conditional
that discriminates between the list head and ->next pointers.
- Use mw->mw_handle in all cases, since that has the same value as
f->fr_mr->rkey, and is already in cache.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions