Re: Deleting large files

From: Jan Engelhardt
Date: Wed May 07 2008 - 16:48:56 EST



On Wednesday 2008-05-07 22:17, Xavier Bestel wrote:
>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.

Code complexity. But then again, a few good filesystems
don't even need to do such heavy housekeeping, and I
suggest using these if you are worried about unlink speed.
--
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/