Re: [EXT] Re: [PATCH v2 04/14] qla2xxx: Optimize NPIV tear down process

2019-09-26 Thread Martin Wilck
On Thu, 2019-09-26 at 16:56 +, Quinn Tran wrote: > > Are you missing a negation in this last line? > Also, what's the point of adding this loop? > > QT: good catch. The idea is to not sleep the full 10Hz, if the > vref_count already reaches zero or reaches zero under > 10Hz. O

Re: [EXT] Re: [PATCH v2 04/14] qla2xxx: Optimize NPIV tear down process

2019-09-26 Thread Quinn Tran
On 9/26/19, 3:52 AM, "Martin Wilck" wrote: External Email -- On Thu, 2019-09-12 at 11:09 -0700, Himanshu Madhani wrote: > From: Quinn Tran > > In the case of NPIV port is being torn down, this pat

Re: [PATCH v2 04/14] qla2xxx: Optimize NPIV tear down process

2019-09-26 Thread Martin Wilck
On Thu, 2019-09-12 at 11:09 -0700, Himanshu Madhani wrote: > From: Quinn Tran > > In the case of NPIV port is being torn down, this patch will > set a flag to indicate VPORT_DELETE. This would prevent relogin > to be triggered. > > Signed-off-by: Quinn Tran > Signed-off-by: Himanshu Madhani >

[PATCH v2 04/14] qla2xxx: Optimize NPIV tear down process

2019-09-12 Thread Himanshu Madhani
From: Quinn Tran In the case of NPIV port is being torn down, this patch will set a flag to indicate VPORT_DELETE. This would prevent relogin to be triggered. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_attr.c | 2 ++ drivers/scsi/qla2xxx/qla_def.