Re: [PATCH 08/11] Fix crash doing IO with resets

2017-06-16 Thread Hannes Reinecke
On 06/16/2017 07:56 AM, James Smart wrote: > During every reset, IOCBs are allocated. So, at one point, number of > allocated IOCBs reaches maximum limit and lpfc_sli_next_iotag fails. > > Allocate IOCBs only during initialization. Reuse them after every reset > instead of allocating new set of IO

[PATCH 08/11] Fix crash doing IO with resets

2017-06-15 Thread James Smart
During every reset, IOCBs are allocated. So, at one point, number of allocated IOCBs reaches maximum limit and lpfc_sli_next_iotag fails. Allocate IOCBs only during initialization. Reuse them after every reset instead of allocating new set of IOCBs. Signed-off-by: Dick Kennedy Signed-off-by: Jam