aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index eb0465305f8d..33166ebec7d8 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -1405,7 +1405,7 @@ qla2xxx_slave_configure(struct scsi_device *sdev)
1405 if (IS_T10_PI_CAPABLE(vha->hw)) 1405 if (IS_T10_PI_CAPABLE(vha->hw))
1406 blk_queue_update_dma_alignment(sdev->request_queue, 0x7); 1406 blk_queue_update_dma_alignment(sdev->request_queue, 0x7);
1407 1407
1408 scsi_adjust_queue_depth(sdev, 0, req->max_q_depth); 1408 scsi_adjust_queue_depth(sdev, req->max_q_depth);
1409 return 0; 1409 return 0;
1410} 1410}
1411 1411
@@ -1440,7 +1440,7 @@ static void qla2x00_adjust_sdev_qdepth_up(struct scsi_device *sdev, int qdepth)
1440 if (req->max_q_depth <= sdev->queue_depth || req->max_q_depth < qdepth) 1440 if (req->max_q_depth <= sdev->queue_depth || req->max_q_depth < qdepth)
1441 return; 1441 return;
1442 1442
1443 scsi_adjust_queue_depth(sdev, MSG_SIMPLE_TAG, qdepth); 1443 scsi_adjust_queue_depth(sdev, qdepth);
1444 1444
1445 ql_dbg(ql_dbg_io, vha, 0x302a, 1445 ql_dbg(ql_dbg_io, vha, 0x302a,
1446 "Queue depth adjusted-up to %d for nexus=%ld:%d:%llu.\n", 1446 "Queue depth adjusted-up to %d for nexus=%ld:%d:%llu.\n",
@@ -1452,7 +1452,7 @@ qla2x00_change_queue_depth(struct scsi_device *sdev, int qdepth, int reason)
1452{ 1452{
1453 switch (reason) { 1453 switch (reason) {
1454 case SCSI_QDEPTH_DEFAULT: 1454 case SCSI_QDEPTH_DEFAULT:
1455 scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); 1455 scsi_adjust_queue_depth(sdev, qdepth);
1456 break; 1456 break;
1457 case SCSI_QDEPTH_QFULL: 1457 case SCSI_QDEPTH_QFULL:
1458 qla2x00_handle_queue_full(sdev, qdepth); 1458 qla2x00_handle_queue_full(sdev, qdepth);