diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2017-06-22 22:01:10 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-11 17:47:16 +0300 |
commit | e7d80c830489f67b1d0257e6919840100085dea9 (patch) | |
tree | 5df2d23b60518578edff162ee371ba3a644ee409 /mm/page_vma_mapped.c | |
parent | 8e959601996dc645f4ed7004482a1667c27deb39 (diff) | |
download | linux-e7d80c830489f67b1d0257e6919840100085dea9.tar.xz |
IB/iser: Handle lack of memory management extentions correctly
max_fast_reg_page_list_len is only valid when the
memory management extentions are signaled by the underlying
driver.
Fix by adjusting iser_calc_scsi_params() to use
ISCSI_ISER_MAX_SG_TABLESIZE when the extentions are not indicated.
Reported-by: Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
Fixes: Commit df749cdc45d9 ("IB/iser: Support up to 8MB data transfer in a single command")
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Tested-by: Thomas Rosenstein <thomas.rosenstein@creamfinance.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'mm/page_vma_mapped.c')
0 files changed, 0 insertions, 0 deletions