2.5 current bk fix setting scsi queue depths
PATCH 1/1 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
drivers/scsi/scsi.c +0 -1
@@ -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