xprtrdma: Avoid calls to ro_unmap_safe()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 29 Nov 2016 15:52:48 +0000 (10:52 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 29 Nov 2016 21:45:44 +0000 (16:45 -0500)
commit48016dce46ad504a378849490bfb99c98be5cfaa
tree80c29e78c16c835639cbdd05c28ddb93ee378640
parent109b88ab9d78f76b3f6f42155cac2241f2ad2e31
xprtrdma: Avoid calls to ro_unmap_safe()

Micro-optimization: Most of the time, calls to ro_unmap_safe are
expensive no-ops. Call only when there is work to do.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/transport.c