xfs
[Top] [All Lists]

Re: Here is the results of my last question...

To: Andi Kleen <ak@xxxxxxx>
Subject: Re: Here is the results of my last question...
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Fri, 25 Oct 2002 12:49:11 -0700
Cc: yoros@xxxxxxxxxx, linux-xfs <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20021025202727.A2421@xxxxxxxxxxxxx>
References: <20021025181514.GA21940@xxxxxxxxxxxxxxxxxxx> <20021025202727.A2421@xxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Fri, Oct 25, 2002 at 08:27:27PM +0200, Andi Kleen wrote:

> 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.

It would be pretty cheap for the downloader to actually just touch
lseek/touch ahead a few MB of each writer too, this would be almost as
easy to code and would work on other filesystems.


  --cw


<Prev in Thread] Current Thread [Next in Thread>