lkml.org 
[lkml]   [2002]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.085 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site