[SCSI] mpt2sas: Tie a log info message to a specific PHY.
Add support to display additional debug info for SCSI_IO and RAID_SCSI_IO_PASSTHROUGH sent from the normal entry queued entry point, as well as internal generated commands, and IOCTLS. The additional debug info included the phy number, as well as the sas address, enclosure logical id, and slot number. This debug info has to be enabled thru the logging_level command line option, by default this will not be displayed. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:

committed by
James Bottomley

parent
eabb08ad2d
commit
7fbae67a3f
@@ -275,6 +275,7 @@ struct _internal_cmd {
|
||||
* @id: target id
|
||||
* @channel: target channel
|
||||
* @slot: number number
|
||||
* @phy: phy identifier provided in sas device page 0
|
||||
* @hidden_raid_component: set to 1 when this is a raid member
|
||||
* @responding: used in _scsih_sas_device_mark_responding
|
||||
*/
|
||||
@@ -293,6 +294,7 @@ struct _sas_device {
|
||||
int id;
|
||||
int channel;
|
||||
u16 slot;
|
||||
u8 phy;
|
||||
u8 hidden_raid_component;
|
||||
u8 responding;
|
||||
};
|
||||
|
Reference in New Issue
Block a user