Re: [PATCH 04/47] aacraid: use aac_tmf_callback for reset fib

2017-06-30 Thread Hannes Reinecke
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

RE: [PATCH 04/47] aacraid: use aac_tmf_callback for reset fib

2017-06-29 Thread Raghava Aditya Renukunta
[.] > @@ -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

RE: [PATCH 04/47] aacraid: use aac_tmf_callback for reset fib

2017-06-28 Thread Dave Carroll
> > > 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