IB/srp: Re-enable FMR for non-page aligned buffers
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 11 Aug 2015 00:06:29 +0000 (17:06 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:36 +0000 (18:12 -0400)
commit186fbc6689a368364b7c9eb9d42d6f84b3079f65
tree6180ffdcdb829c94dc40c67b57da445d13bc9202
parente5580242aa8fab292579a1661463f7479275f7ff
IB/srp: Re-enable FMR for non-page aligned buffers

During a discussion in 2011 nobody recalled why FMR was not used for
non-page aligned buffers (see also
http://thread.gmane.org/gmane.linux.drivers.rdma/7149). Re-enable FMR
for such buffers. For the reason why the srp_map_fmr() function needs
to be modified, see also patch "IB/srp: rework mapping engine to use
multiple FMR entries" (commit ID 8f26c9ff9cd0; January 2011).

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c