Skip to content

: Add TMR LUN_RESET, REQUEST_SENSE and TAS support

Nicholas A. Bellinger linux-scsi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5: Add emulated REQUEST_SENSE and Control mode page TAS bitdrivers/lio-core/target_core_base.h drivers/lio-core/target_core_transport.c drivers/lio-core/target_core_transport.h+145 -240 replies
2/5: Add REQUEST_SENSE usage subsystem pluginsdrivers/lio-core/target_core_file.c drivers/lio-core/target_core_iblock.c drivers/lio-core/target_core_rd.c+18 -00 replies
3/5: Add emulated_tas READ/WRITE device attributedrivers/lio-core/target_core_configfs.c drivers/lio-core/target_core_device.c drivers/lio-core/target_core_device.h+26 -00 replies
4/5: Add support for TMR LUN_RESET w/ Task Aborted Status (TAS)drivers/lio-core/target_core_tmr.c drivers/lio-core/target_core_tmr.h+249 -50 replies
5/5: Update core_tmr_alloc_req() usagedrivers/lio-core/iscsi_target.c drivers/lio-core/iscsi_target_util.c+3 -40 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/5] [Target_Core_Mod]: Add TMR LUN_RESET, REQUEST_SENSE and TAS support

Greetings all,

This patch adds support for TMR LUN_RESET with TASK ABORTED status Enabled/Disabled. It also adds initial support for REQUEST_SENSE. They have been tested with sg_reset issuing LUN_RESET from iSCSI LUNs across multiple Open-iSCSI Sessions.

These patches are made against lio-core-2.6.git/master and tested on v2.6.29 x86 32-bit HVM using sg_persist from sg3_utils. The lio-core-2.6.git tree can be found at:

http://git.kernel.org/?p=linux/kernel/git/nab/lio-core-2.6.git;a=summary

[PATCH 1/5] [Target_Core_Mod]: Add emulated REQUEST_SENSE and Control mode page TAS bit [PATCH 2/5] [Target_Core_Mod]: Add REQUEST_SENSE usage subsystem plugins [PATCH 3/5] [Target_Core_Mod/ConfigFS]: Add emulated_tas READ/WRITE device attribute [PATCH 4/5] [Target_Core_Mod]: Add support for TMR LUN_RESET w/ Task Aborted Status (TAS) [PATCH 5/5] [LIO-Target]: Update core_tmr_alloc_req() usage

--nab