lkml.org 
[lkml]   [2002]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.064 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site