login
Header Space

 
 

Deleting large files

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: linux-kernel <linux-kernel@...>
Date: Wednesday, May 7, 2008 - 3:49 pm

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?

Morten
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Deleting large files, Morten Welinder, (Wed May 7, 3:49 pm)
Re: Deleting large files, Pavel Machek, (Sat May 17, 8:15 am)
Re: Deleting large files, Christian Kujau, (Thu May 8, 1:29 pm)
Re: Deleting large files, Matti Aarnio, (Thu May 8, 4:19 am)
Re: Deleting large files, Christoph Hellwig, (Sun May 11, 7:16 am)
Re: Deleting large files, Aneesh Kumar K.V, (Sun May 11, 12:42 pm)
Re: Deleting large files, linux-os (Dick Johnson), (Wed May 7, 6:34 pm)
Re: Deleting large files, Morten Welinder, (Wed May 7, 7:14 pm)
Re: Deleting large files, Pavel Machek, (Tue May 20, 10:33 am)
Re: Deleting large files, Jan Engelhardt, (Sun May 11, 6:30 am)
Re: Deleting large files, Enrico Weigelt, (Sun May 11, 12:38 pm)
Re: Deleting large files, Alan Cox, (Thu May 8, 7:01 pm)
Re: Deleting large files, Jan Engelhardt, (Wed May 7, 4:10 pm)
Re: Deleting large files, Xavier Bestel, (Wed May 7, 4:17 pm)
Re: Deleting large files, Jan Engelhardt, (Wed May 7, 4:48 pm)
speck-geostationary