mpt2sas: Remove code for TASK_SET_FULL from driver.
PATCH 7/11 mpt2sas: Remove code for TASK_SET_FULL from driver.
remove support for MPI2_EVENT_TASK_SET_FULL
This event is obsoleted, so this processing of this event needs to be removed from the driver. The controller firmware is going to handle TASK_SET_FULL, the driver doesn't need to do anything. Even though we are removing the EVENT handling, the behavour has not changed between driver versions becuase fimrware will still be handling queue throttling, and retrying of commands when the target device queues are full.
Signed-off-by Kashyap Desai <[email protected]>
---
drivers/scsi/mpt2sas/mpt2sas_base.c +0 -4
@@ -518,9 +518,6 @@ _base_display_event_data(struct MPT2SAS_ADAPTER *ioc,case MPI2_EVENT_EVENT_CHANGE : desc ="Event Change" ;break ; -case MPI2_EVENT_TASK_SET_FULL : - desc ="Task Set Full" ; -break ;case MPI2_EVENT_SAS_DEVICE_STATUS_CHANGE : desc ="Device Status Change" ;break ;
@@ -3863,7 +3860,6 @@ mpt2sas_base_attach(struct MPT2SAS_ADAPTER *ioc)_base_unmask_events (ioc,MPI2_EVENT_IR_VOLUME );_base_unmask_events (ioc,MPI2_EVENT_IR_PHYSICAL_DISK );_base_unmask_events (ioc,MPI2_EVENT_IR_OPERATION_STATUS ); -_base_unmask_events (ioc,MPI2_EVENT_TASK_SET_FULL );_base_unmask_events (ioc,MPI2_EVENT_LOG_ENTRY_ADDED ); r =_base_make_ioc_operational (ioc,CAN_SLEEP );if (r)
drivers/scsi/mpt2sas/mpt2sas_scsih.c +0 -88
106 lines not on this page · raw message