Project

General

Profile

Feature #8347

mpt_sas needs to set bridge-port property for SATA devices

Added by Robert Mustacchi over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
driver - device drivers
Start date:
2017-06-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

In 8346 we discovered that we discovered that the the SES phy information always reports the WWN of the SATA Tunneling Protocol bridge ports. As such, for the topology to be understood by the rest of the system, we need to set the bridge-port property for this. This property came in as part of the SM-HBA work and is already used by topo and pmcs.

One thing to keep in mind is that this WWN is usually related to the physical location the device is plugged into, effectively which phy or slot it's plugged into. As such, we need to make sure that when a device has any kind of DR information, that we update this property.

History

#1

Updated by Electric Monk over 2 years ago

  • Status changed from New to Closed

git commit 8221efec02725289918c06a850adcd7393394c8b

commit  8221efec02725289918c06a850adcd7393394c8b
Author: Robert Mustacchi <rm@joyent.com>
Date:   2017-07-12T20:40:13.000Z

    8346 SES topology information needs to search STP Bridge ports
    8347 mpt_sas needs to set bridge-port property for SATA devices
    8348 mptsas_handle_topo_change() can return without locks held
    Reviewed by: Joshua M. Clulow <jmc@joyent.com>
    Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF