On Fri, Oct 25, 2002 at 08:15:14PM +0200, yoros@xxxxxxxxxx wrote:
>
> As said in the subject, related to my other mails about removing files.
>
> I have experienced that using one downloader assistant (that creates a
> big sparse file an then fill it to complete download), I get a file with
> lots of extents sized from 24 to 80 blocks... Yes, I must run xfs_fsr
> after download, but it is interesant to include this performance to the
> core code...
The right thing would be to change the downloader assistant to use
XFS' file preallocation ioctls so that it allocates the full space in
advance. Unfortuately they are not fully implemented on linux/xfs and are
only available for root currently. I would be possible to create the
file first and fill it with zeroes. This way you should get few extents.
-Andi
|