Re: Deleting large files

From: Xavier Bestel
Date: Wed May 07 2008 - 16:18:11 EST


Le mercredi 07 mai 2008 à 22:10 +0200, Jan Engelhardt a écrit :
>
> >I.e., could unlink do the directory changes and then hand off the rest of the
> >task to a kernel thread?
>
> Say you had one realtime application running that would do lots of new
> writes after the unlink finished. When the unlink is put into the
> background, you interleave the unlink operation with new writes,
> probably causing needless seeks and therefore not hitting the deadlines
> anymore.

Why ? The writes are delayed, so could be the unlink operations.

Xav


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/