lkml.org 
[lkml]   [2009]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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


    \
     
     \ /
      Last update: 2009-04-05 05:49    [W:3.632 / U:0.320 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site