• Chuck Lever's avatar
    xprtrdma: Refactor FRMR invalidation · a100fda1
    Chuck Lever authored
    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: default avatarChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
    a100fda1
frwr_ops.c 16.1 KB