[PATCH 0/6] target: Reenable buffered FILEIO + add iscsi-target MXDSL logic

From: Nicholas A. Bellinger
Date: Sun Sep 30 2012 - 02:04:22 EST


From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

Hi folks,

This following series is destined for v3.7-rc1 code, and re-adds support for
buffered FILEIO + emulate_write_cache=1 emulation removed in v3.5, as well as
fixing up a long standing issue wrt to MaxRecvDataSegmentLength handling within
iscsi-target code.

The latter bit is the bulk of the series that involves adding a proper
configurable MaxXmitDataSegmentLength TPG parameter configfs attr, and converts
iscsi-target login logic, incoming PDU payload checks, TMR TASK_REASSIGN ops, and
non contigious sequence+pdu operation to now honor MXDSL.

Open-iSCSI + Linux-iSCSI folks please review the MXDSL bits, and please let us
know if you have any concerns.

Thank you!

--nab

Nicholas Bellinger (6):
target/file: Re-enable optional fd_buffered_io=1 operation
iscsi-target: Add base MaxXmitDataSegmentLength code
iscsi-target: Enable MaxXmitDataSegmentLength operation in login path
iscsi-target: Convert incoming PDU payload checks to
MaxXmitDataSegmentLength
iscsi-target: Add MaxXmitDataSegmentLength connection recovery check
iscsi-target: Change iscsi_target_seq_pdu_list.c to honor
MaxXmitDataSegmentLength

drivers/target/iscsi/iscsi_target.c | 24 ++++----
drivers/target/iscsi/iscsi_target_configfs.c | 4 +
drivers/target/iscsi/iscsi_target_core.h | 2 +
drivers/target/iscsi/iscsi_target_erl2.c | 1 +
drivers/target/iscsi/iscsi_target_nego.c | 4 +-
drivers/target/iscsi/iscsi_target_parameters.c | 71 +++++++++++++++++++---
drivers/target/iscsi/iscsi_target_parameters.h | 7 ++-
drivers/target/iscsi/iscsi_target_seq_pdu_list.c | 61 ++++++++++---------
drivers/target/iscsi/iscsi_target_tmr.c | 9 +++-
drivers/target/target_core_file.c | 36 ++++++++++-
drivers/target/target_core_file.h | 1 +
11 files changed, 162 insertions(+), 58 deletions(-)

--
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/