Re: [PATCH v2 1/4] scsi_dh_alua: Do not modify the interval value for retries

2017-05-12 Thread Bart Van Assche
On Fri, 2017-05-12 at 15:15 +0200, Martin Wilck wrote: > From: Hannes Reinecke > > We shouldn't set the interval value to 0 in alua_rtpg_work(), as the struct > is accessed from different devices and hence we might end up scheduling > too early. > > With this change, pg->interval

[PATCH v2 1/4] scsi_dh_alua: Do not modify the interval value for retries

2017-05-12 Thread Martin Wilck
From: Hannes Reinecke We shouldn't set the interval value to 0 in alua_rtpg_work(), as the struct is accessed from different devices and hence we might end up scheduling too early. With this change, pg->interval is now effectively constant, thus we might as well replace it with a