Re: Please stop apps going into state D uninterrupted sleep !!
Patrick O'Callaghan writes:
On Tue, 2012-05-08 at 15:35 -0700, Joe Zeff wrote: > On 05/08/2012 03:17 PM, Sam Varshavchik wrote: > > > > It's not up to the app. This is not an optional system call. If the > > kernel wants to put the task into uninterruptible sleep, that's what it > > will do. End of story. > > So let me get this straight: even if you know that this kind of thing > can happen and want to leave an escape switch available you can't simply > tell the kernel not to use this feature. Interesting. It's not a "feature", as in some optional extra, it's a fairly fundamental aspect of how the kernel works. Any book on kernel hacking will tell you the same. This is not to say that it couldn't be any other way, but actually changing it would mean quite a radical redesign. Nothing is impossible, but I wouldn't hold my breath if I were you.
No, this still misses the point.If you do not want the kernel to put a process into uninterruptible sleep, waiting for a broken mount to come back up, all you have to do is NOT specify a non-default mount option.
Processes go into uninterruptible sleep if the remote share gets mounted with the "hard" option.
Use soft mounts. Problem solved.
Description: PGP signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
[Older Fedora Users] [Fedora Announce] [Fedora Package Announce] [EPEL Announce] [Fedora News] [Fedora Cloud] [Fedora Advisory Board] [Fedora Education] [Fedora Security] [Fedora Scitech] [Fedora Robotics] [Fedora Maintainers] [Fedora Infrastructure] [Fedora Websites] [Anaconda Devel] [Fedora Devel Java] [Fedora Legacy] [Fedora Desktop] [Fedora Fonts] [ATA RAID] [Fedora Marketing] [Fedora Management Tools] [Fedora Mentors] [SSH] [Find Someone Special] [Fedora Package Review] [Fedora R Devel] [Fedora PHP Devel] [Kickstart] [Fedora Music] [Fedora Packaging] [Centos] [Fedora SELinux] [Fedora Legal] [Fedora Kernel] [Fedora QA] [Fedora Triage] [Fedora OCaml] [Coolkey] [Virtualization Tools] [ET Management Tools] [Yum Users] [Tux] [Yosemite News] [Yosemite Photos] [Linux Apps] [Maemo Users] [Gnome Users] [KDE Users] [Fedora Tools] [Fedora Art] [Fedora Docs] [Maemo Users] [Asterisk PBX] [Fedora Sparc] [Fedora Universal Network Connector] [Libvirt Users] [Fedora ARM]