diff options
author | 2016-02-19 09:17:06 +0100 | |
---|---|---|
committer | 2016-02-23 21:27:02 -0500 | |
commit | a4253fde53fda56c2116a1cf8df9c93ef272eab4 (patch) | |
tree | ccfe9911774dedb9fb95922b0c09b7af9055fd6f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi_dh_alua: use unique device id (diff) | |
download | wireguard-linux-a4253fde53fda56c2116a1cf8df9c93ef272eab4.tar.xz wireguard-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 '')
0 files changed, 0 insertions, 0 deletions