ipr: set scsi_level correctly for disk arrays

Set the scsi_level correctly for disk arrays such
that things like the rotational field get set
properly by sd.c.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Wen Xiong<wenxiong@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>

authored by

Brian King and committed by
Christoph Hellwig
60654e25 f688f96d

+1
+1
drivers/scsi/ipr.c
··· 4713 4713 sdev->no_uld_attach = 1; 4714 4714 } 4715 4715 if (ipr_is_vset_device(res)) { 4716 + sdev->scsi_level = SCSI_SPC_3; 4716 4717 blk_queue_rq_timeout(sdev->request_queue, 4717 4718 IPR_VSET_RW_TIMEOUT); 4718 4719 blk_queue_max_hw_sectors(sdev->request_queue, IPR_VSET_MAX_SECTORS);