• C
    xprtrdma: Refactor FRMR invalidation · a100fda1
    Chuck Lever 提交于
    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: NChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
    a100fda1
frwr_ops.c 16.1 KB