| To: | utz lehmann <xfs@xxxxxxxxxx> |
|---|---|
| Subject: | Re: Strage values from FIBMAP on holes or after end of file |
| From: | Nathan Scott <nathans@xxxxxxx> |
| Date: | Fri, 3 Aug 2001 17:20:26 +1000 |
| Cc: | "Gonyou, Austin" <austin@xxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <20010803005541.A4343@xxxxxxxxxx>; from xfs@xxxxxxxxxx on Fri, Aug 03, 2001 at 12:55:41AM +0200 |
| References: | <85063BBE668FD411944400D0B744267A6435E7@AUSMAIL> <20010803005541.A4343@xxxxxxxxxx> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5i |
hi Utz, On Fri, Aug 03, 2001 at 12:55:41AM +0200, utz lehmann wrote: > ... > but i think the FIBMAP ioctl should return 0 as blocknumber for holes and > after the end of the file. > > > > Hi > > > > > > 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. 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?) cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | TAKE - correct FIBMAP handling of holes, Nathan Scott |
|---|---|
| Next by Date: | Re: Strage values from FIBMAP on holes or after end of file, Utz Lehmann |
| Previous by Thread: | Re: Strage values from FIBMAP on holes or after end of file, utz lehmann |
| Next by Thread: | Re: Strage values from FIBMAP on holes or after end of file, Utz Lehmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |