When dropping a lock while iterating a list we must restart the search
as other threads could have manipulated the list under us. Without this
we can get stuck in an endless loop.
Reported-by: Johannes Thumshirn
Signed-off-by: Christoph Hellwig
diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/
On 10/19/2015 07:35 AM, Christoph Hellwig wrote:
When dropping a lock while iterating a list we must restart the search
as other threads could have manipulated the list under us. Without this
we can get stuck in an endless loop.
Hello Christoph,
Thanks for looking into this. However, I think
On Mon, Oct 19, 2015 at 08:36:23AM -0700, Bart Van Assche wrote:
> Thanks for looking into this. However, I think we need a motivation in the
> patch description why this patch does not reintroduce the soft lockup
> documented in patch "scsi_remove_target: fix softlockup regression on hot
> remo
On Mon, 2015-10-19 at 17:56 +0200, Christoph Hellwig wrote:
> On Mon, Oct 19, 2015 at 08:36:23AM -0700, Bart Van Assche wrote:
> > Thanks for looking into this. However, I think we need a motivation in the
> > patch description why this patch does not reintroduce the soft lockup
> > documented in
On Mon, Oct 19, 2015 at 8:56 AM, Christoph Hellwig wrote:
> On Mon, Oct 19, 2015 at 08:36:23AM -0700, Bart Van Assche wrote:
>> Thanks for looking into this. However, I think we need a motivation in the
>> patch description why this patch does not reintroduce the soft lockup
>> documented in patch
On Mon, 2015-10-19 at 16:35 +0200, Christoph Hellwig wrote:
> When dropping a lock while iterating a list we must restart the
> search
> as other threads could have manipulated the list under us. Without
> this
> we can get stuck in an endless loop.
>
> Reported-by: Johannes Thumshirn
> Signed-o
On Mon, 2015-10-19 at 16:35 +0200, Christoph Hellwig wrote:
> When dropping a lock while iterating a list we must restart the
> search
> as other threads could have manipulated the list under us. Without
> this
> we can get stuck in an endless loop.
>
> Reported-by: Johannes Thumshirn
> Signed-o
e patch below, which is a variant of Christoph's patch ?
Thanks,
Bart.
[PATCH] scsi: Restart list search after unlock in scsi_remove_target
When dropping a lock while iterating a list we must restart the search
as other threads could have manipulated the list under us. Without this
we ca
Hi Bart,
On Tue, 2015-10-27 at 13:14 -0700, Bart Van Assche wrote:
> On 10/26/2015 01:35 AM, Johannes Thumshirn wrote:
> > I haven't heard anything from the original reporter of the lockup
> > but
> > my test's went all O.K., so
> >
> > Tested-by: Johannes Thumshirn
> > Reviewed-by: Johannes Thum
9 matches
Mail list logo