On 06/29/2017 10:06 PM, Raghava Aditya Renukunta wrote:
> [.]
>> @@ -879,8 +906,12 @@ static int aac_eh_dev_reset(struct scsi_cmnd *cmd)
> [..]
>> bus = aac_logical_to_phys(scmd_channel(cmd));
>> cid = scmd_id(cmd);
>> + info = &aac->hba_map[bus][cid];
>> if (b
[.]
> @@ -879,8 +906,12 @@ static int aac_eh_dev_reset(struct scsi_cmnd *cmd)
[..]
> bus = aac_logical_to_phys(scmd_channel(cmd));
> cid = scmd_id(cmd);
> + info = &aac->hba_map[bus][cid];
> if (bus >= AAC_MAX_BUSES || cid >= AAC_MAX_TARGETS ||
> - aa
>
>
> When sending a reset fib we shouldn't rely on the scsi command, but rather set
> the TMF status in the map_info->reset_state variable.
> That allows us to send a TMF independent on a scsi command.
>
> Signed-off-by: Hannes Reinecke
> ---
> /*
> * aac_eh_dev_reset- Device r
3 matches
Mail list logo