xfs
[Top] [All Lists]

Re: Delayed Allocation Question

To: Steve Lord <lord@xxxxxxx>
Subject: Re: Delayed Allocation Question
From: Sonny Rao <sonny@xxxxxxxxxxx>
Date: Mon, 7 Feb 2005 15:18:24 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <4207C7C9.8060005@xfs.org>
References: <20050207173755.GA24277@kevlar.burdell.org> <4207C7C9.8060005@xfs.org>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Mon, Feb 07, 2005 at 01:55:53PM -0600, Steve Lord wrote:
> Sonny Rao wrote:
> >Random question:  If a file is being written (to memory) and hasn't
> >been allocated, then will calling the FIBMAP-ioctl on that file force
> >allocation ?  
> >
> >Sonny
> >
> 
> Yes, at least it did last time I looked. Otherwise things like lilo
> fall over in a heap.
> 
> Steve

Ok that makes sense, I was seeing huge file fragmentation and thought
maybe running filefrag was causing it, but it was actually because of
holes in the file.   I didn't realize that cp kept holes in files :-P

Sonny


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