linux_dsm_epyc7002/drivers/infiniband/ulp/iser
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
..
iscsi_iser.c IB/iser: Do not reduce max_sectors 2018-05-31 13:07:17 -04:00
iscsi_iser.h IB/iser: Do not reduce max_sectors 2018-05-31 13:07:17 -04:00
iser_initiator.c IB/iser: Do not reduce max_sectors 2018-05-31 13:07:17 -04:00
iser_memory.c IB: Correct MR length field to be 64-bit 2017-09-25 11:47:23 -04:00
iser_verbs.c IB/iser: Do not reduce max_sectors 2018-05-31 13:07:17 -04:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile