[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Hi Nathan

Nathan Scott [nathans@sgi.com] 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