[SRU][Zesty][PATCH 0/1] scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.

Joseph Salisbury joseph.salisbury at canonical.com
Wed Sep 20 18:50:57 UTC 2017


BugLink: http://bugs.launchpad.net/bugs/1693369

== SRU Justification ==
This bug is resolved by commit 62e62ffd95539b9220894a7900a619e0f3ef4756.

Without this patch, the symlink in sysfs which binds a SAS device to an enclosure 
slot does not get created. This makes disk hotplug near impossible on large 
JBOD disk drawers.

Commit 62e62ffd95 is also needed in Xenial.  However, Xenial also needed some 
prereq commits, so it's SRU will be sent separately.

Commit 62e62ffd95 is in mainline as of 4.13-rc1.


== Fix ==
commit 62e62ffd95539b9220894a7900a619e0f3ef4756
Author: Maurizio Lombardi <mlombard at redhat.com>
Date:   Tue Jun 27 11:53:27 2017 +0200

    scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.

== Regression Potential ==
This patch was also cc'd and applied to upstream stable, so there is 
upstream confidence in it.

== 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.


Maurizio Lombardi (1):
  scsi: ses: do not add a device to an enclosure if
    enclosure_add_links() fails.

 drivers/misc/enclosure.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

-- 
2.7.4





More information about the kernel-team mailing list