lkml.org 
[lkml]   [1998]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: e2fs + large disk == slug?
Date
> | 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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.572 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site