ipr: Set scsi_level correctly for disk arrays
Subsystems (2)
PATCH RESEND 4/5 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.
---
drivers/scsi/ipr.c | 1 + 1 file changed, 1 insertion(+)
drivers/scsi/ipr.c renamed from drivers/scsi/ipr.c~ipr_array_scsi_level +1 -0
@@ -4740,6 +4740,7 @@ static int ipr_slave_configure(struct sc 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 );
_
Thanks,
Wendy
Quoting Brian King <[email protected]>:
Quoted 23 lines
Set the
scsi_levelcorrectly for disk arrays such
that things like the rotational field get set
properly bysd.c.Signed-off-by Brian King <[email protected]>---
drivers/scsi/ipr.c | 1 + 1 file changed, 1 insertion(+)diff -puN
drivers/scsi/ipr.c~ipr_array_scsi_leveldrivers/scsi/ipr.c
--- scsi-queue/drivers/scsi/ipr.c~ipr_array_scsi_level 2014-12-02
12:13:28.585275691 -0600
+++scsi-queue-bjking1/drivers/scsi/ipr.c2014-12-02 12:13:28.591275641 -0600drivers/scsi/ipr.c renamed from drivers/scsi/ipr.c~ipr_array_scsi_level +1
-0@@ -4740,6 +4740,7 @@ static int ipr_slave_configure(struct sc 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 );_
Do you want me to apply this patch ASAP while waiting for the kexec ACK?
Quoted 1 line · Christoph Hellwig
Do you want me to apply this patch ASAP while waiting for the kexec ACK?
Both patches 1 and 4 can be pulled in while we wait for Eric's ack.
Thanks,
Brian
Signature · 3 lines
Brian King Power Linux I/O IBM Linux Technology Center
Christoph Hellwig
AppliedQuoted 4 lines · Brian King
Quoted 1 line · Christoph Hellwig
Do you want me to apply this patch ASAP while waiting for the kexec ACK?
Both patches 1 and 4 can be pulled in while we wait for Eric's ack.
I've applied patches 1 and 4 to drivers-for-3.19.