]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/target/iscsi/iscsi_target_core.h
iscsi-target: Add MaxXmitDataSegmentLength connection recovery check
authorNicholas Bellinger <nab@linux-iscsi.org>
Sun, 30 Sep 2012 05:14:51 +0000 (22:14 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 2 Oct 2012 20:17:32 +0000 (13:17 -0700)
commit1c417f39c1f896206f0d5bfec65cd61a8f5e69b8
tree94860180b473678b9621545406ae3c9c36575a3e
parent21f5aa7eb8572b5cfe36884c23d306c72fe3987c
iscsi-target: Add MaxXmitDataSegmentLength connection recovery check

The iSCSI TMR TASK_REASSIGN completion logic in iscsi_tmr_task_reassign()
does an explict check for MRDSL across task reassignment, so go ahead and
add an explict MaxXmitDataSegmentLength check here as well to be safe.

Cc: Mike Christie <michaelc@cs.wisc.edu>
Cc: Andy Grover <agrover@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_core.h
drivers/target/iscsi/iscsi_target_erl2.c
drivers/target/iscsi/iscsi_target_tmr.c