linux/drivers/scsi/megaraid
Sumit Saxena 18365b1385 megaraid_sas: Task management support
This patch adds task management for SCSI commands. Added functions are
task abort and target reset.

1. Currently, megaraid_sas driver performs controller reset when any IO
times out.  With task management support added, task abort and target
reset will be tried to recover timed out IO. If task management fails,
then controller reset will be performaned. If the task management
request times out, fail the request and escalate to the next
level (controller reset).

2. mr_device_priv_data will be allocated for all generations of
controller, but is_tm_capable flag will never be set for
controllers (prior to Invader series) as firmware support is not
available for task management.

3. Task management capable firmware will set is_tm_capable flag in
firmware API.

Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Signed-off-by: Kashyap Desai <kashyap.desai@avagotech.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-02-23 21:27:02 -05:00
..
Kconfig.megaraid
Makefile
mbox_defs.h
mega_common.h scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
megaraid_ioctl.h
megaraid_mbox.c scsi: drop reason argument from ->change_queue_depth 2014-11-24 14:45:27 +01:00
megaraid_mbox.h
megaraid_mm.c megaraid: Fix possible NULL pointer deference in mraid_mm_ioctl 2016-01-08 13:03:53 -05:00
megaraid_mm.h
megaraid_sas.h megaraid_sas: Task management support 2016-02-23 21:27:02 -05:00
megaraid_sas_base.c megaraid_sas: Task management support 2016-02-23 21:27:02 -05:00
megaraid_sas_fp.c megaraid_sas : Remove debug print from function megasas_update_span_set 2015-11-02 22:58:29 -05:00
megaraid_sas_fusion.c megaraid_sas: Task management support 2016-02-23 21:27:02 -05:00
megaraid_sas_fusion.h megaraid_sas: Task management support 2016-02-23 21:27:02 -05:00