Re: Pre-approval request for dpkg sync() changes for squeeze
On 2010-11-08 16:40 +0100, Phillip Susi wrote:
> On 11/6/2010 5:41 AM, Sven Joachim wrote:
>> For ext4, mounting with the nodelalloc option helps a lot, although this
>> option allegedly slows down ext4 in the general case.
> How does that help? Doesn't it just disable the delayed allocator,
> forcing the blocks to be allocated when they hit the cache, rather than
> when flushed? Wouldn't that make sure you don't get zero byte files,
> but instead get files full of trash?
I just meant that fsync() seems to be a lot faster in ext4 with that
mount option, see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588339#50. I have no
idea why this is so, though.