Roland Dreier
015487b89f
target: Untangle front-end and back-end meanings of max_sectors attribute
...
se_dev_attrib.max_sectors currently has two independent meanings:
- It is reported in the block limits VPD page as the maximum transfer
length, ie the largest IO that the front-end (fabric) can handle.
Also the target core doesn't enforce this maximum transfer length.
- It is used to hold the size of the largest IO that the back-end can
handle, so we know when to split SCSI commands into multiple tasks.
Fix this by adding a new se_dev_attrib.fabric_max_sectors to hold the
maximum transfer length, and checking incoming IOs against that limit.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2012-02-25 14:37:49 -08:00
..
iscsi
target: Add SCF_SCSI_TMR_CDB usage and drop se_tmr_req_cache
2012-02-25 14:37:47 -08:00
loopback
tcm_loop: switch to using transport_handle_cdb_direct
2012-02-25 14:37:48 -08:00
tcm_fc
tcm_fc: Convert ft_send_tm to use target_submit_tmr
2012-02-25 14:37:48 -08:00
Kconfig
Makefile
target: remove the ->transport_split_cdb callback in se_cmd
2011-10-24 03:21:15 +00:00
target_core_alua.c
target: Allow control CDBs with data > 1 page
2012-01-18 08:35:58 +00:00
target_core_alua.h
target: pass the se_task to the CDB emulation callback
2011-11-04 08:00:17 +00:00
target_core_cdb.c
target: Untangle front-end and back-end meanings of max_sectors attribute
2012-02-25 14:37:49 -08:00
target_core_configfs.c
target: Untangle front-end and back-end meanings of max_sectors attribute
2012-02-25 14:37:49 -08:00
target_core_device.c
target: Untangle front-end and back-end meanings of max_sectors attribute
2012-02-25 14:37:49 -08:00
target_core_fabric_configfs.c
target: fix return code of core_tpg_.*_lun
2012-01-18 08:33:44 +00:00
target_core_fabric_lib.c
target: remove useless casts
2011-12-14 11:28:07 +00:00
target_core_file.c
target: remove useless casts
2011-12-14 11:28:07 +00:00
target_core_file.h
target: make the ->get_cdb method optional
2011-10-24 03:21:11 +00:00
target_core_hba.c
target: header reshuffle, part2
2011-12-14 11:26:05 +00:00
target_core_iblock.c
target: increase iblock task sizes
2012-02-25 14:37:46 -08:00
target_core_iblock.h
target: increase iblock task sizes
2012-02-25 14:37:46 -08:00
target_core_internal.h
target: Untangle front-end and back-end meanings of max_sectors attribute
2012-02-25 14:37:49 -08:00
target_core_pr.c
target: Use LIST_HEAD()/DEFINE_MUTEX() for static objects
2012-02-25 14:37:46 -08:00
target_core_pr.h
target: Move core_scsi3_check_cdb_abort_and_preempt
2011-12-14 11:27:34 +00:00
target_core_pscsi.c
target: Allow control CDBs with data > 1 page
2012-01-18 08:35:58 +00:00
target_core_pscsi.h
target: cleanup pscsi request submission
2011-10-24 03:20:44 +00:00
target_core_rd.c
target: use \n as a separator for configuration
2011-12-14 11:27:23 +00:00
target_core_rd.h
target: make the ->get_cdb method optional
2011-10-24 03:21:11 +00:00
target_core_stat.c
target: remove useless casts
2011-12-14 11:28:07 +00:00
target_core_tmr.c
target: Add TMR_ABORT_TASK task management support
2012-02-25 14:37:49 -08:00
target_core_tpg.c
target: fix return code of core_tpg_.*_lun
2012-01-18 08:33:44 +00:00
target_core_transport.c
target: Untangle front-end and back-end meanings of max_sectors attribute
2012-02-25 14:37:49 -08:00
target_core_ua.c
target: header reshuffle, part2
2011-12-14 11:26:05 +00:00
target_core_ua.h