xfs
[Top] [All Lists]

Re: Strage values from FIBMAP on holes or after end of file

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: Strage values from FIBMAP on holes or after end of file
From: Utz Lehmann <leh@xxxxxxxxxxxxxx>
Date: Fri, 3 Aug 2001 12:59:23 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20010803172026.A197783@xxxxxxxxxxxxxxxxxxxxxxxx>; from nathans@xxxxxxx on Fri, Aug 03, 2001 at 05:20:26PM +1000
References: <85063BBE668FD411944400D0B744267A6435E7@AUSMAIL> <20010803005541.A4343@xxxxxxxxxx> <20010803172026.A197783@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
Hi Nathan

Nathan Scott [nathans@xxxxxxx] wrote:
> > > > The FIBMAP ioctl on holes or after end of file gives the 
> > > > values -1 to 6.
> > > > ext2 and reiserfs reurns 0. I thing this is the right value.
> > 
> 
> I have just checked in a fix, should appear in cvs shortly.
> Thanks for the detailed analysis & test program.

The fix works. Thanks.

> 
> Did you just discover this problem by inspection, or did it
> bite you in some other way?   (was some other program using
> the FIBMAP ioctl and not working correctly with XFS?)

I found this with the fibmap program of Constantin Loizides fragmentation
project. http://www.informatik.uni-frankfurt.de/~loizides/reiserfs/
Note: The current version of fibmap doesn't work with XFS well. I thing
Constantin will release a fixed version soon.


utz


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