CIFS: SMBD: Implement RDMA memory registration
authorLong Li <longli@microsoft.com>
Thu, 23 Nov 2017 00:38:44 +0000 (17:38 -0700)
committerSteve French <smfrench@gmail.com>
Thu, 25 Jan 2018 01:49:06 +0000 (19:49 -0600)
commitc7398583340a6d82b8bb7f7f21edcde27dc6a898
tree051a58595ea6dc336697fa5b0383d69f8e61099d
parent9762c2d080926b7c292cb7c64ca6030e88d6a6e4
CIFS: SMBD: Implement RDMA memory registration

Memory registration is used for transferring payload via RDMA read or write.
After I/O is done, memory registrations are recovered and reused. This
process can be time consuming and is done in a work queue.

Signed-off-by: Long Li <longli@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smbdirect.c
fs/cifs/smbdirect.h