diff options
author | Webb Scales <webbnh@hp.com> | 2015-04-23 16:31:55 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-05-31 20:21:15 +0200 |
commit | 0d96ef5ff4086a4143eacb036cf28affd1db0cab (patch) | |
tree | 67a63bf7fbcb5c2e67416a2715922c13597c8422 /drivers/scsi/hpsa_cmd.h | |
parent | hpsa: add masked physical devices into h->dev[] array (diff) | |
download | linux-0d96ef5ff4086a4143eacb036cf28affd1db0cab.tar.xz linux-0d96ef5ff4086a4143eacb036cf28affd1db0cab.zip |
hpsa: clean up host, channel, target, lun prints
We had a mix of formats used for specifying controller, bus, target,
and lun address of devices.
change to the format used by the scsi midlayer and upper layer (2:3:0:0)
so you can easily follow the information from hpsa to scsi midlayer
to sd upper layer.
Also add this information:
- product ID
- vendor ID
- RAID level
- SSD Smath Path capable and enabled
- exposure level (sg-only)
Example:
hpsa 0000:04:00.0: added scsi 2:0:0:0: Direct-Access HP LOGICAL VOLUME RAID-0 SSDSmartPathCap+ En+ Exp=4
scsi 2:0:0:0: Direct-Access HP LOGICAL VOLUME 10.0 PQ: 0 ANSI: 5
sd 2:0:0:0: [sdr] 12501713072 512-byte logical blocks: (6.40 TB/5.82 TiB)
sd 2:0:0:0: [sdr] 4096-byte physical blocks
sd 2:0:0:0: [sdr] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg20 type 0
Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Hannes Reinecke <hare@Suse.de>
Signed-off-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/hpsa_cmd.h')
0 files changed, 0 insertions, 0 deletions