Killable stat/readdir

From: Matthew Wilcox
Date: Wed Apr 16 2008 - 08:59:48 EST


On Wed, Apr 16, 2008 at 02:50:34PM +0200, Andi Kleen wrote:
> killable stat and readdir would be even more important I would say.
>
> When sync/fsync takes too long it's typically just a kernel bug
> of some sort (like that long running MM starvation issue that stalls
> writes on some kinds of background activity) that should be really just
> fixed.
>
> But handling down network servers which hit stat/readdir etc. is
> a real situation not explained by a bug.
>
> For example a standard situation that hits me regularly is that
> I save something in firefox on a different server and then later
> turn that machine off. Then next time I try to save something
> in firefox it first blocks forever in stat()ing that down directory.

I think that's fixed now. Can you check with 2.6.25-rc1 or later?
If it's unkillable, can you let me know the wchan for that process?

--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/