[stgt] [PATCH] iSCSI: Always honour MaxRecvDataSegmentLength, not just during discovery

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Tue Aug 21 03:14:03 CEST 2012

On Tue, 21 Aug 2012 09:46:34 +1000
Ronnie Sahlberg <ronniesahlberg at gmail.com> wrote:

> We should always honour this login parameter, both during discovery but also
> during normal sessions.
> Otherwise if an initiator sets this value to 256k and performs a 256k read from
> the target tgtd will send the data back to the initiator in 8kb DATA chunks
> at cost to performance.
> You can also set this parameter manually from the command line :
> tgtadm --op update --mode target --tid 1 --name MaxXmitDataSegmentLength --value 16384
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> ---
>  usr/iscsi/iscsid.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)

Applied, thanks!
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

More information about the stgt mailing list