Re: [PATCH] lazy umount (1/4)

David Woodhouse (dwmw2@infradead.org)
Mon, 17 Sep 2001 15:43:16 +0100


matthias.andree@stud.uni-dortmund.de said:
> Well, from a practical point of view two things that would really
> help Linux:

> 1) Be able kill -9 processes from "D" state.

'D' state means _uninterruptible_ sleep. To be interruptible, we need to
have appropriate cleanup code at the point at which the code sleeps. Often,
parts of the kernel sleep in 'D' state instead of in 'S' state just because
someone's been too lazy to implement the cleanup.

Each one of those bugs needs to be fixed individually - and many need core
changes. Fixing read_inode() so that well-behaved filesystems can deal with
being interrupted during its operation is on the list for 2.5. Others will
be required too, I'm sure.

--
dwmw2

- 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/