From: Nicholas Bellinger Date: Sun, 30 Sep 2012 04:49:59 +0000 (-0700) Subject: iscsi-target: Enable MaxXmitDataSegmentLength operation in login path X-Git-Tag: v3.7-rc1~61^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9977bb18c92e694819266fc0e7c5a3cd0cd7b626;p=pandora-kernel.git iscsi-target: Enable MaxXmitDataSegmentLength operation in login path This patch activates MaxXmitDataSegmentLength usage that performs the following sequence of events: - Once the incoming initiator's MAXRECVDATASEGMENTLENGTH key is detected within iscsi_check_acceptor_state(), save the requested MRDSL into conn->conn_ops->MaxRecvDataSegmentLength - Next change the outgoing target's MaxRecvDataSegmenthLength key=value based upon the local TPG's MaxXmitDataSegmentLength attribute value. - Change iscsi_set_connection_parameters() to skip the assignment of conn->conn_ops->MaxRecvDataSegmentLength, now setup within iscsi_check_acceptor_state() Also update iscsi_decode_text_input() -> iscsi_check_acceptor_state() code-path to accept struct iscsi_conn *. Cc: Mike Christie Cc: Andy Grover Cc: Hannes Reinecke Cc: Roland Dreier Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed