diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2014-12-02 12:47:46 -0600 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-12-15 13:34:29 +0100 |
commit | 60654e250cd32d4315401a468ea779dfe5aed2a9 (patch) | |
tree | 1174bfe8bb1ad0fdc7ccd0385b76b8b65e052dc5 /drivers | |
parent | f688f96d86794600686e2c11745ee3ffa3e6554e (diff) | |
download | linux-60654e250cd32d4315401a468ea779dfe5aed2a9.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/ipr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index beee3843e420..df4e27cd996a 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c @@ -4713,6 +4713,7 @@ static int ipr_slave_configure(struct scsi_device *sdev) sdev->no_uld_attach = 1; } if (ipr_is_vset_device(res)) { + sdev->scsi_level = SCSI_SPC_3; blk_queue_rq_timeout(sdev->request_queue, IPR_VSET_RW_TIMEOUT); blk_queue_max_hw_sectors(sdev->request_queue, IPR_VSET_MAX_SECTORS); |