svcrdma: Add helper to save pages under I/O
authorChuck Lever <chuck.lever@oracle.com>
Sun, 9 Apr 2017 17:06:00 +0000 (13:06 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 25 Apr 2017 21:25:54 +0000 (17:25 -0400)
commitc55ab0707b2817046ad48d6c87a6b764119a2458
tree476abbd714798e947ec6aec3879d1c7579c737a0
parentb623589dbacbc786c2fffc85113a1dc1a331e2ca
svcrdma: Add helper to save pages under I/O

Clean up: extract the logic to save pages under I/O into a helper to
add a big documenting comment without adding clutter in the send
path.

This is a refactoring change only.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_sendto.c