Messages in this thread Patch in this message | | | Date | Wed, 30 Oct 2002 08:58:44 -0800 | From | Patrick Mansfield <> | Subject | [PATCH] 2.5 current bk fix setting scsi queue depths |
| |
Hi -
This patch fixes a problem with the current linus bk tree setting scsi queue depths to 1. Please apply.
Without the patch:
[patman@elm3a50 patman]$ cat /proc/scsi/sg/device_hdr /proc/scsi/sg/devices host chan id lun type opens qdepth busy online 0 0 0 0 0 2 1 0 1 0 0 1 0 0 1 1 0 1 0 0 15 0 3 0 1 0 1
With the patch:
[patman@elm3a50 patman]$ cat /proc/scsi/sg/device_hdr /proc/scsi/sg/devices host chan id lun type opens qdepth busy online 0 0 0 0 0 2 253 0 1 0 0 1 0 0 1 253 0 1 0 0 15 0 3 0 2 0 1
--- 1.51/drivers/scsi/scsi.c Tue Oct 29 01:03:27 2002 +++ edited/drivers/scsi/scsi.c Wed Oct 30 08:36:23 2002 @@ -1511,7 +1511,6 @@ kfree((char *) SCpnt); } SDpnt->current_queue_depth = 0; - SDpnt->new_queue_depth = 0; spin_unlock_irqrestore(&device_request_lock, flags); } -- Patrick Mansfield - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |