Unfortunately, for USB Mass Storage, getting an accurate idea of how much
data there is to transfer (especially for commands that can only transfer
a fixed amount of information) is very important.  So far, this is the
only case I've found where it's wrong, and I'm afraid I don't have the
time to discover where is is going wrong before 2.4.0

Would someone who is more familiar with these layer (Eric?  someone else?)
please fix this?  And let me know when you do so I can test it.  I imagine
that it's probably, as you indicate, just a quick little fix to some relic
code.  Hopefully we can get this in before 2.4.0

Matt Dharm

On Tue, 14 Mar 2000, Jens Axboe wrote:

> On Mon, Mar 13 2000, Matthew Dharm wrote:
> > I just discovered that the SCSI layer passes a 512 byte buffer when it
> > sends a READ_CAPACITY command.  Considering this command can only return 8
> > bytes, and that for Direct-Access devices we only request 8 bytes, I think
> > this is a bug somewhere.
> 
> Probably a relic from when the buffer was allocated with scsi_malloc().
> Pretty harmless, though.
> 
> 

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Engineer, Qualcomm, Inc.                         Work: [EMAIL PROTECTED]

I'm a pink gumdrop! How can anything be worse?!!
                                        -- Erwin
User Friendly, 10/4/1998


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

Reply via email to