Re: macbook pro dvd playback after suspend Buffer I/O error

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

 



Justin Mattock wrote:
> Yeah, take you're time. Maybe it's easier  to have mplayer or which
> ever media player wait for the drive. i.g.
> under OSX, the media player pauses until the drive does it's thing,
> and then resumes.(but this would be for the suspend aspect)
> As for the live distro part I'd have to think as well. Let me know
> what you think.

For apps which know they're accessing cd or dvd (probably using sg
commands), asking for TUR test after resume could be acceptable but apps
getting -EIO on read(2) because of intervening suspend/resume cycle is
just not right.  The problem is that readiness waiting can take quite
some time and under the current architecture, that can make resume take
much longer or block IOs to other devices on the same port.  :-(

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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux