[stgt] [PATCH] iSCSI: Fix bug in parsing of MaxRecvDataSegmentLength

Ronnie Sahlberg ronniesahlberg at gmail.com
Sat Aug 18 01:03:53 CEST 2012

Tomo, List,

Please find a patch that fixes a performance problem with MaxRecvDataSegmentLength in TGTD.
It used to ONLY apply this for DISCOVERY sessions but keep the maximum pdu clamped down at a tiny 8kb for all NORMAL sessions.

While the opposite is obviously what was intended.

This should improve performance for large or sequential i/o since it avoids the train of "many DATA-IN PDUs of just 8kb each" that would otherwise be the case for any >8kb reads from the initiator.

ronnie sahlberg

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