- fusion - serialize target resets in mptsas.c
Subsystems (2)
PATCH 6/9 - fusion - serialize target resets in mptsas.c
Fusion firmware requires target reset following hotplug removal event, with purpose to flush target outstanding request in fw. Current implementation does the target resets from delayed work tasks, that in heavy load conditions, take too long to be invoked, resulting in command time outs This patch will issue target reset immediately from ISR context, and will queue remaining target resets to be issued after the previous one completes. The delayed work tasks are spawned during the target reset completion.
Signed-off-by Eric Moore <[email protected]>
drivers/message/fusion/mptbase.h +1 -0
@@ -994,6 +994,7 @@ typedef struct _MPT_SCSI_HOST {int scandv_wait_done;long last_queue_full;u16 tm_iocstatus; +struct list_head target_reset_list; }MPT_SCSI_HOST ;/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
drivers/message/fusion/mptsas.c +280 -45
403 lines not on this page · raw message