linux/drivers/target
Nicholas Bellinger 5b9a4d7280 target: Add MI_REPORT_TARGET_PGS ext. header + implict_trans_secs attribute
This patch adds support for ALUA MI_REPORT_TARGET_PGS extended header
format defined within SPC-4.  It changes target core ALUA emulation logic
within target_emulate_report_target_port_groups() to support both the
extended and original length only header formats.

It includes adding a new 'implict_trans_secs' attribute for each ALUA
target port group to control the value returned to the application client
for an recommended implict translation timeout in seconds.  By default
this value is currently set to zero, and limited up to 255 by virtue of
using a single byte in the extended header format.

This value is used by target_emulate_report_target_port_groups() within
the extended header logic to set IMPLICIT TRANSITION TIME as defined by
spc4r30.

Cc: Hannes Reinecke <hare@suse.de>
Cc: Rob Evers <revers@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2012-05-17 00:45:58 -07:00
..
iscsi target/iscsi: cleanup some allocation style issues 2012-05-06 15:02:33 -07:00
loopback target: Rename target_allocate_tasks to target_setup_cmd_from_cdb 2012-04-14 17:40:36 -07:00
tcm_fc tcm_fc: Remove use of transport_do_task_sg_chain() 2012-04-14 17:40:31 -07:00
Kconfig iscsi-target: Add iSCSI fabric support for target v4.1 2011-07-26 09:16:43 +00:00
Makefile target: remove the ->transport_split_cdb callback in se_cmd 2011-10-24 03:21:15 +00:00
target_core_alua.c target: Add MI_REPORT_TARGET_PGS ext. header + implict_trans_secs attribute 2012-05-17 00:45:58 -07:00
target_core_alua.h target: Add MI_REPORT_TARGET_PGS ext. header + implict_trans_secs attribute 2012-05-17 00:45:58 -07:00
target_core_cdb.c target: Remove max_sectors device attribute for modern se_task less code 2012-05-09 15:08:47 -07:00
target_core_configfs.c target: Add MI_REPORT_TARGET_PGS ext. header + implict_trans_secs attribute 2012-05-17 00:45:58 -07:00
target_core_device.c target: Remove max_sectors device attribute for modern se_task less code 2012-05-09 15:08:47 -07:00
target_core_fabric_configfs.c target: Use array_zalloc for device_list 2012-03-15 19:15:51 -07:00
target_core_fabric_lib.c target: remove useless casts 2011-12-14 11:28:07 +00:00
target_core_file.c target: remove struct se_task 2012-05-06 15:11:26 -07:00
target_core_file.h target: remove struct se_task 2012-05-06 15:11:26 -07:00
target_core_hba.c target: header reshuffle, part2 2011-12-14 11:26:05 +00:00
target_core_iblock.c target: remove struct se_task 2012-05-06 15:11:26 -07:00
target_core_iblock.h target: remove struct se_task 2012-05-06 15:11:26 -07:00
target_core_internal.h target: move the state and execute lists to the command 2012-05-06 15:11:26 -07:00
target_core_pr.c target: replace ->execute_task with ->execute_cmd 2012-05-06 15:11:14 -07:00
target_core_pr.h target: replace ->execute_task with ->execute_cmd 2012-05-06 15:11:14 -07:00
target_core_pscsi.c target: remove struct se_task 2012-05-06 15:11:26 -07:00
target_core_pscsi.h target: remove struct se_task 2012-05-06 15:11:26 -07:00
target_core_rd.c target: remove struct se_task 2012-05-06 15:11:26 -07:00
target_core_rd.h target: don't limit transfer sizes for the ramdisk backend 2012-04-14 17:40:30 -07:00
target_core_stat.c target: remove obvious warnings 2012-03-15 19:16:09 -07:00
target_core_tmr.c target: remove the t_task_cdbs_ex_left field in struct se_cmd 2012-05-06 15:11:27 -07:00
target_core_tpg.c target: Remove obsolete DF_READ_ONLY usage 2012-04-14 16:04:58 -07:00
target_core_transport.c target: Fix MAINTENANCE_IN service action CDB checks to use lower 5 bits 2012-05-17 00:45:58 -07:00
target_core_ua.c target: Use array_zalloc for device_list 2012-03-15 19:15:51 -07:00
target_core_ua.h