On 9/12/2019 6:19 PM, Jason Gunthorpe wrote:
On Thu, Sep 12, 2019 at 10:35:34AM +0000, Sergey Gorenko wrote:
Maximum supported IO size is 8MB for the iSER driver. The
current value is limited by the ISCSI_ISER_MAX_SG_TABLESIZE
macro. But the driver is able to handle 16MB IOs without any
significant changes. Increasing this limit can be useful for
the storage arrays which are fine tuned for IOs larger than
8 MB.
This commit allows to configure maximum IO size up to 16MB
using the max_sectors module parameter.
Signed-off-by: Sergey Gorenko <sergeygo@xxxxxxxxxxxx>
Reviewed-by: Max Gurtovoy <maxg@xxxxxxxxxxxx>
Acked-by: Sagi Grimberg <sagi@xxxxxxxxxxx>
---
Changes from v0:
- Change 512 to SECTOR_SIZE (suggested by Sagi)
is this always true ? 512 == SECTOR_SIZE ?
drivers/infiniband/ulp/iser/iscsi_iser.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Applied to for-next with Sagi's ack
Thanks,
Jason