Google
  Web www.spinics.net

Re: [PATCH] usb-storage: report underflow with no sense data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tue, Sep 02, 2008 at 10:12:11AM -0400, Alan Stern wrote:
> This patch (as1118) addresses a problem with certain USB mass-storage
> devices.  These devices sometimes return less data than asked for and
> then provide no sense data to explain the problem.  Currently
> usb-storage leaves it up to the SCSI layer to decide how this should
> be handled, and the SCSI layer interprets the lack of sense data to
> mean that nothing went wrong.  But if we got less data than required
> then something definitely _did_ go wrong, and we should say so.
> 
> The patch tells the SCSI layer to retry the command when this sort of
> thing happens.  Retrying may not solve the underlying problem, but
> it's better than believing that data was transferred when it wasn't.
> 
> Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

Is this a 2.6.27 or .28 patch?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Add to Google Powered by Linux