Messages in this thread | | | Date | Fri, 10 May 2002 22:47:58 +0200 | From | Jan Hudec <> | Subject | Re: kill task in TASK_UNINTERRUPTIBLE |
| |
On Thu, May 09, 2002 at 01:49:35AM +0200, Roman Zippel wrote: > > > Except for processes accessing NFS files while the NFS server is down: > > > they will be stuck in TASK_UNINTERRUPTIBLE until the NFS server comes > > > back up again. > > > > A REALLY good argument for puting timeouts on your NSF mounts! Don't > > leave home without them. > > Use "mount -o intr" and you can kill the process.
Could someone please explain to me how this works? IIRC NFS uses generic_file_read as most other filesystems. And whe WaitOnPage in there sleeps in uninterruptible state. I was told, that though it would be easy to change here, it's almost impossible in page-fault, because trying to handle a signal might trigger the very same page-fault again.
-------------------------------------------------------------------------------- - Jan Hudec `Bulb' <bulb@ucw.cz> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |