Re: [PATCH 06/34] xfs: dynamic speculative EOF preallocation

Dave Chinner
2010-12-21T21:40:48Z

On Tue, Dec 21, 2010 at 10:15:11AM -0500, Christoph Hellwig wrote:
> This patch causes tesr 014 to take ~ 870 seconds instead of 6, thus
> beeing almost 150 times slower on mt 32-bit test VM, so I'll have to NAK
> it for now.

It's not the speculative preallocation changes - ithey are just
exposing some other regression. That is, using MOUNT_OPTIONS="-o
allocsize=4k" gives the previous behaviour, while allocsize=512m
gives the same behaviour as the dynamic preallocation.

The dynamic behaviour is resulting in megabyte sized IOs being
issued for random 512 byte writes (which is wrong), so I'm tending
towards it being a regression caused by the reecent writeback path
changes. I'll dig deeper today.

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com