Commit 39252446 authored by James Bottomley's avatar James Bottomley

[SCSI] remove debugging from zero depth queue handling

parent e4f44d56
......@@ -211,9 +211,6 @@ struct Scsi_Host * scsi_register(Scsi_Host_Template * tpnt, int j)
retval->max_host_blocked = tpnt->max_host_blocked ? tpnt->max_host_blocked : SCSI_DEFAULT_HOST_BLOCKED;
printk("scsi%d: max_host_blocked set to %d\n", retval->host_no, retval->max_host_blocked);
retval->host_blocked = 0;
retval->host_self_blocked = FALSE;
......
......@@ -757,7 +757,7 @@ void scsi_request_fn(request_queue_t * q)
if(SHpnt->host_busy == 0 && SHpnt->host_blocked) {
/* unblock after host_blocked iterates to zero */
if(--SHpnt->host_blocked == 0) {
printk("scsi%d unblocking host at zero depth\n", SHpnt->host_no);
SCSI_LOG_MLQUEUE(3, printk("scsi%d unblocking host at zero depth\n", SHpnt->host_no));
} else {
blk_plug_device(q);
break;
......@@ -766,7 +766,7 @@ void scsi_request_fn(request_queue_t * q)
if(SDpnt->device_busy == 0 && SDpnt->device_blocked) {
/* unblock after device_blocked iterates to zero */
if(--SDpnt->device_blocked == 0) {
printk("scsi%d (%d:%d) unblocking device at zero depth\n", SHpnt->host_no, SDpnt->id, SDpnt->lun);
SCSI_LOG_MLQUEUE(3, printk("scsi%d (%d:%d) unblocking device at zero depth\n", SHpnt->host_no, SDpnt->id, SDpnt->lun));
} else {
blk_plug_device(q);
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment