[lkml]   [2008]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Deleting large files
On Wed 2008-05-07 15:49:30, Morten Welinder wrote:
> Hi there,
> deleting large files, say on the order of 4.6GB, takes approximately forever.
> Why is that? Well, it is because a lot of things need to take place to free
> the formerly used space, but my real question is "why does the unlink caller
> have to wait for it?"
> I.e., could unlink do the directory changes and then hand off the rest of the
> task to a kernel thread?

Yep, but implementation is not going to be trivial. Send a patch ;-).

(cesky, pictures)

 \ /
  Last update: 2008-05-17 14:19    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean