[SCSI] scsi_dh_alua: Evaluate TPGS setting from inquiry data
authorHannes Reinecke <hare@suse.de>
Wed, 24 Aug 2011 08:51:13 +0000 (10:51 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 30 Aug 2011 19:26:49 +0000 (12:26 -0700)
commitd7c48feb38a5cb6d863d69fd5ef6c309971ebe31
treecb2701400ab0992ecb7d8e84d3d9f70d38bbb51c
parentac81c6a832a8769d1cc7ffda361aa3dc3d8f06dc
[SCSI] scsi_dh_alua: Evaluate TPGS setting from inquiry data

Instead of issuing a standard inquiry from within the
alua device handler we can evaluate the TPGS setting from
the existing inquiry data of the sdev and save us the I/O.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/device_handler/scsi_dh_alua.c
include/scsi/scsi_device.h