[SRU][Trusty][Vivid][Wily][Xenial][PATCH 0/1] UBUNTU: SAUCE: scsi_sysfs: protect against double execution of __scsi_remove_device()

Kamal Mostafa kamal at canonical.com
Tue Nov 17 21:58:38 UTC 2015


On Thu, 2015-11-12 at 15:57 -0500, Joseph Salisbury wrote:
> BugLink: http://bugs.launchpad.net/bugs/1509029
> 
> == Justification ==
> 
> [Hyper-V] Crash in hot-add/remove scsi devices (smp).  On some host errors 
> storvsc module tries to remove sdev by scheduling a job, which will cause a crash.
> 
> The problem comes with the fact that many such jobs (for the same device)
> are being scheduled simultaneously.   
> 
> This patch fixes this bug for Trusty, Vivid, Wily and Xenial and applies cleanly to all
> releases.  The patch has been sent upstream, but it has not yet been applied.  
> 
> Upstream Thread: https://lkml.org/lkml/2015/11/6/474
> 


Applied to [Trusty][Vivid][Wily][Xenial].

 -Kamal


> == Fix ==
> 
> Author: Joseph Salisbury <joseph.salisbury at canonical.com>
> Date:   Thu Nov 12 15:40:10 2015 -0500
> 
>     UBUNTU: SAUCE: scsi_sysfs: protect against double execution of  __scsi_remove_device()
> 
> 
> 
> == Test Case ==
> 
> A test kernel was built with this patch and tested by the original bug reporter.
> The bug reporter states the test kernel resolved the bug.
> 
> 
> 
> Joseph Salisbury (1):
>   UBUNTU: SAUCE: scsi_sysfs: protect against double execution of
> 
>  drivers/scsi/scsi_sysfs.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> -- 
> 1.9.1
> 
> 






More information about the kernel-team mailing list