On Mon, 13 Dec 1999 [EMAIL PROTECTED] wrote:

> Hi Alan,
> 
> you said that the "scsi add-single-device" code is horrible and gets
> overhauled...
> 
> 
> Some weeks ago I noticed that I loose tagged command queueing (TCQ) on my
> harddisks when I dynamically add a device with "scsi add-single-device" and
> posted it to linux-scsi but nobody answered... sigh. I have this with
> 2.2.1[123] on an adatptec 2940. Although the harddisks use TQC with a queue
> depth of eight (at least /proc/scsi/aic7xxx/0 reports it) the rescan on
> "scsi add-single-device" bumps the disk-queues to a depth of one. :-(
> 
> Will the "overhaul" cure this?

        My guess is that the problem is that when you do an
add-single-device that it calls down to the low-level driver to select the
queue depth again.  The problem is (as the comment describes) that the
low-level drivers may not expect being called to do this task a second
time.

-Eric


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to