• Dan Williams's avatar
    isci: merge ssp task management substates into primary state machine · f139303d
    Dan Williams authored
    Remove usage of the request substate machine for ssp task management
    requests identified by:
    	ireq->ttype == tmf_task && dev->dev_type == SAS_END_DEV;
    
    The only routine that checks the base 'started' state is
    scic_sds_io_request_tc_completion which calls the substate machine
    handler if we are not in the 'started' state or we are 'started' and no
    substate machine is defined.  This routine requires no conversion
    because we have transitioned out of 'started' and the substate routine
    will be called naturally as a result.
    
    There are also no side effects of this conversion on exiting the
    'started', state because it only stops the substate machine, which is no
    longer relevant for this transaction type.
    Reported-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    f139303d
request.c 82.9 KB