diff options
| author | Hannes Reinecke <hare@suse.de> | 2016-02-19 09:17:06 +0100 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-02-23 21:27:02 -0500 |
| commit | a4253fde53fda56c2116a1cf8df9c93ef272eab4 (patch) | |
| tree | ccfe9911774dedb9fb95922b0c09b7af9055fd6f /tools/perf/scripts | |
| parent | 0047220c6c3641eeaf0460fb1cc8bbb7f81bd47e (diff) | |
| download | cachepc-linux-a4253fde53fda56c2116a1cf8df9c93ef272eab4.tar.gz cachepc-linux-a4253fde53fda56c2116a1cf8df9c93ef272eab4.zip | |
scsi_dh_alua: simplify alua_initialize()
Rework alua_check_vpd() to use scsi_vpd_get_tpg()
and move the port group selection into the function, too.
With that we can simplify alua_initialize() to just
call alua_check_tpgs() and alua_check_vpd();
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
