[Top] [All Lists]

Re: Delayed Allocation Question

To: Sonny Rao <sonny@xxxxxxxxxxx>, Steve Lord <lord@xxxxxxx>
Subject: Re: Delayed Allocation Question
From: Nathan Scott <nathans@xxxxxxx>
Date: Tue, 8 Feb 2005 08:41:42 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <4207C7C9.8060005@xxxxxxx>; from lord@xxxxxxx on Mon, Feb 07, 2005 at 01:55:53PM -0600
References: <20050207173755.GA24277@xxxxxxxxxxxxxxxxxx> <4207C7C9.8060005@xxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
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 ?  
> > 
> Yes, at least it did last time I looked. Otherwise things like lilo
> fall over in a heap.

Yep, still does - see linvfs_bmap, which calls fs_flush_pages
before doing the generic_block_bmap.



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