xfs
[Top] [All Lists]

Re: [PATCH] xfs_fsr: avoid unnessary copying

To: Utz Lehmann <ulehmann@xxxxxxxxxxxxxx>
Subject: Re: [PATCH] xfs_fsr: avoid unnessary copying
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 05 Mar 2003 09:51:04 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20030305125440.F20654@de.tecosim.com>
References: <20030302232830.A16452@s2y4n2c.de> <Pine.LNX.4.44.0303042342390.12035-100000@stout.americas.sgi.com> <20030305125440.F20654@de.tecosim.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Wed, 2003-03-05 at 05:54, Utz Lehmann wrote:

> No. I have tested that case. cur_nextents and getnextents() are always for
> the whole file and not for a group of non hole extents that will preallocated
> at once.
> Sometimes there will be unnessary coping of extents when the file is hole-y.
> But the final result is the same. 

Ok, yes - I agree.  Finally took a few moments to really look at it.

Well, so I have code for both ways now... I'll check one of them in.  :)

Thanks,

-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.         651-683-3102


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