[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080517121544.GA3926@ucw.cz>
Date: Sat, 17 May 2008 14:15:45 +0200
From: Pavel Machek <pavel@....cz>
To: Morten Welinder <mwelinder@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: 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 ;-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists