]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitbfecb531734326b6e33a50d2cb7b3b82fcd5468f
treecb2701400ab0992ecb7d8e84d3d9f70d38bbb51c
parent135629ed456747bc15157f3cce0e04bef0e4b7a5
[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