Skip to content

target: Reenable buffered FILEIO + add iscsi-target MXDSL logic

Nicholas A. Bellinger linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6target/file: Re-enable optional fd_buffered_io=1 operationdrivers/target/target_core_file.c drivers/target/target_core_file.h+34 -35 replies
2/6iscsi-target: Add base MaxXmitDataSegmentLength codedrivers/target/iscsi/iscsi_target_configfs.c drivers/target/iscsi/iscsi_target_core.h drivers/target/iscsi/iscsi_target_parameters.c +1 more+31 -00 replies
3/6iscsi-target: Enable MaxXmitDataSegmentLength operation in login pathdrivers/target/iscsi/iscsi_target_nego.c drivers/target/iscsi/iscsi_target_parameters.c drivers/target/iscsi/iscsi_target_parameters.h+44 -120 replies
4/6iscsi-target: Convert incoming PDU payload checks to MaxXmitDataSegmentLengthdrivers/target/iscsi/iscsi_target.c+12 -120 replies
5/6iscsi-target: Add MaxXmitDataSegmentLength connection recovery checkdrivers/target/iscsi/iscsi_target_core.h drivers/target/iscsi/iscsi_target_erl2.c drivers/target/iscsi/iscsi_target_tmr.c+10 -10 replies
6/6iscsi-target: Change iscsi_target_seq_pdu_list.c to honor MaxXmitDataSegmentLengthdrivers/target/iscsi/iscsi_target_seq_pdu_list.c+31 -300 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Nicholas Bellinger <[email protected]>

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(-)
Signature · 1 line
1.7.2.5