[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49D82993.8050208@rtr.ca>
Date: Sat, 04 Apr 2009 23:46:27 -0400
From: Mark Lord <lkml@....ca>
To: David Newall <davidn@...idnewall.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Jeff Garzik <jeff@...zik.org>,
Lennart Sorensen <lsorense@...lub.uwaterloo.ca>,
torvalds@...ux-foundation.org, tytso@....edu, drees76@...il.com,
jesper@...gh.cc, linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists