Re: [PATCHv7 09/23] scsi_dh_alua: simplify alua_initialize()

2016-02-18 Thread Bart Van Assche
On 02/15/2016 12:24 AM, Hannes Reinecke wrote: 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

[PATCHv7 09/23] scsi_dh_alua: simplify alua_initialize()

2016-02-15 Thread Hannes Reinecke
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: Christoph Hellwig Signed-off-by: Hannes Reinecke