Re: rm a_large_file takes too long under linux-2.2.1 (also unSTOPable)

Fuzzy Fox (fox@dallas.net)
Wed, 10 Feb 1999 17:50:54 -0600


Sang Kang <kernel@mocha.sarang.net> wrote:
>
> I made a large file "dd if=/dev/zero of=blah count=1000000"
> immediately followed by "rm blah". It took me about 20 second, and
> I couldn't even send STOP signal to the process (^Z). Is this a new
> feature or a side effect of a bugfix?

It has always been this way, in my experience. In Linux, and other unix
operating systems. It takes time to collect up all the indirect blocks
and mark them free.

You cannot STOP the process because it is not in an interruptible system
call (unlink).

Why do you believe this behavior is new?

-- 
   fox@dallas.net (Fuzzy Fox)      || "Nothing takes the taste out of peanut
sometimes known as David DeSimone  ||  butter quite like unrequited love."
  http://www.dallas.net/~fox/      ||                       -- Charlie Brown

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/