xfs
[Top] [All Lists]

Re: preallocate near a specified block

To: Roger Willcocks <willcor@xxxxxxxxx>
Subject: Re: preallocate near a specified block
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 21 Jul 2006 08:44:51 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <cfac95650607200738o1bf811e8r1493c4bbcf13e24b@xxxxxxxxxxxxxx>; from willcor@xxxxxxxxx on Thu, Jul 20, 2006 at 03:38:27PM +0100
References: <cfac95650607200738o1bf811e8r1493c4bbcf13e24b@xxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Thu, Jul 20, 2006 at 03:38:27PM +0100, Roger Willcocks wrote:
> Hi folks,
> 
> I've put together a 'preallocate near' ioctl, which I've been using in
> anger for several months now. The changes are pretty minimal, and boil
> down to making xfs_bmap think it's extending a file instead of doing
> an initial allocation.
> ...
> Any interest?

Definately.

Have you tweaked xfs_io to be able to exercise this functionality
too?  (also describing it in the xfsctl man page would be good).

cheers.

-- 
Nathan


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