Re: e2fs + large disk == slug?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 16 Jun 1998 23:06:49 +0100 (BST)


> | Just deleted a 2 Gig file on a Solaris machine. It worked instatntly
> | but the disk space was freed in background.
> |
> | Place for possible improvement.
>
> I would hope Linux never does this optimization. I tend to do things like:
>
> rm -rf <dir>; df
>
> expecting df to be accurate immediately after the delete.

Then I suggest you implement it so that df sleeps on its file system query
until the asynchronous rm finishes. Thats a big win on rm of big files and
no pain

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu