Re: Buffer I/O error after s2ram with usb storage persistance

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

 



On Fri, Apr 18, 2014 at 17:55 +0200, Matthieu CASTET wrote:
> Le Fri, 18 Apr 2014 10:42:14 -0400,
> Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> a écrit :
> > 
> > Since the SCSI layer thinks the media was changed, it has no choice but 
> > to fail the read request.
> ok.
> 
> I suppose the scsi layer can't ignore "Not-ready to ready change" event
> at resume time ?

I think the current behaviour might be the safer option.

Scenarios:

The USB key is really a phone or camera in mass-storage mode, and
the filesystem is automounted when the PC disconnects.

The key was put in to another machine, and then put back in to the
original before resuming from s2ram.  For example, suspending a
laptop, forgetting that the key is mounted, and using it to
transfer files from the desktop.

However, I haven't tested either of these scenarios.

Steve
--
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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux