linux_dsm_epyc7002/drivers/infiniband/ulp
Sergey Gorenko 434dda422c IB/iser: Do not reduce max_sectors
The iSER driver reduces max_sectors. For example, if you load the
ib_iser module with max_sectors=1024, you will see that
/sys/class/block/<bdev>/queue/max_hw_sectors_kb is 508. It is an
incorrect value. The expected value is (max_sectors * sector_size) /
1024 = 512.

Reducing of max_sectors can cause performance degradation due to
unnecessary splitting of IO requests.

The number of pages per MR has been fixed here, so there is no longer
any need to reduce max_sectors.

Fixes: 9c674815d3 ("IB/iser: Fix max_sectors calculation")
Signed-off-by: Sergey Gorenko <sergeygo@mellanox.com>
Reviewed-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-05-31 13:07:17 -04:00
..
ipoib RDMA/ipoib: drop skb on path record lookup failure 2018-05-22 15:52:15 -04:00
iser IB/iser: Do not reduce max_sectors 2018-05-31 13:07:17 -04:00
isert IB/isert: Fix for lib/dma_debug check_sync warning 2018-05-24 09:39:25 -06:00
opa_vnic infiniband: fix ulp/opa_vnic/opa_vnic_vema.c kernel-doc notation 2018-01-10 22:00:34 -07:00
srp ib_srp: depend on INFINIBAND_ADDR_TRANS 2018-04-27 11:15:44 -04:00
srpt IB: remove redundant INFINIBAND kconfig dependencies 2018-05-09 08:51:03 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00