Messages in this thread | | | Date | Sat, 04 Apr 2009 23:46:27 -0400 | From | Mark Lord <> | Subject | Re: Linux 2.6.29 |
| |
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
| |