On Thu, Jan 08, 2015 at 05:33:53PM -0500, Al Cooper wrote:
> Previous commit dfcf7775815504d13a1d273073810058caf84b9d added
> a workaround for CD-ROM drives that were out of spec. This is causing
> scsi_check_sense() to return an error instead of NEEDS_RETRY on
> some USB thumb drives that return UNIT_ATTENTION Media Changed
> (ASC/ASCQ 28/00) after resuming from S3. This can cause mounted
> thumb drives to fail on the next access to the filesystem after
> S3 resume. This is masked on many systems because udev/dbus event
> handlers open the /dev/sd* device before filesystem access and the
> open always retries the UNIT_ATTENTION. The fix is to limit the
> original workaround to CDROM drives.

Even better would be quirk for the deice mishandlign the UAs, but I
suspect that's too late now..

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

Reply via email to