Re: Linux 2.6.29

From: Mark Lord
Date: Sat Apr 04 2009 - 23:46:41 EST


David Newall wrote:
Andrew Morton wrote:
- open the file

- unlink the file

- now sit in a loop, slowly nibbling away at the tail with
ftruncate() until the file is gone.

Why not fork and unlink in the child?
..

I think it does the equivalent of that today.

Problem is, if you do the unlink without the nibbling,
then the disk locks up the system cold for 2-3 minutes
until the disk delete actually completes.

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