Linux-RDMA Archive on
 help / color / Atom feed
From: Sagi Grimberg <>
To: Max Gurtovoy <>,
	Jason Gunthorpe <>,
	Sergey Gorenko <>
Cc: "" <>
Subject: Re: [PATCH v1] IB/iser: Support up to 16MB data transfer in a single command
Date: Thu, 12 Sep 2019 14:45:41 -0700
Message-ID: <> (raw)
In-Reply-To: <>

>>> 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 <>
>>> Reviewed-by: Max Gurtovoy <>
>>> Acked-by: Sagi Grimberg <>
>>> ---
>>> Changes from v0:
>>> - Change 512 to SECTOR_SIZE (suggested by Sagi)
> is this always true ? 512 == SECTOR_SIZE ?

 From the documentation it is, and nothing suggest otherwise.
  * The basic unit of block I/O is a sector. It is used in a number of 
  * in Linux (blk, bio, genhd). The size of one sector is 512 = 2**9
  * bytes. Variables of type sector_t represent an offset or size that is a
  * multiple of 512 bytes. Hence these two constants.
#define SECTOR_SHIFT 9

      reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12 10:35 Sergey Gorenko
2019-09-12 15:19 ` Jason Gunthorpe
2019-09-12 21:14   ` Max Gurtovoy
2019-09-12 21:45     ` Sagi Grimberg [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-RDMA Archive on

Archives are clonable:
	git clone --mirror linux-rdma/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rdma linux-rdma/ \
	public-inbox-index linux-rdma

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox