Re: [patch 0/6][RFC] Cleanup FIBMAP

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Chris Mason <chris.mason@...>
Cc: Anton Altaparmakov <aia21@...>, Mike Waychison <mikew@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Monday, October 29, 2007 - 12:30 pm

>> And another of my pet peeves with ->bmap is that it uses 0 to mean  

And maybe we can step back and see what the callers of FIBMAP are doing
with the results they're getting.

One use is to discover the order in which to read file data that will
result in efficient IO.

If we had an interface specifically for this use case then perhaps a
sparse block would be better reported as the position of the inode
relative to other data blocks.  Maybe the inode block number in ext* land.

This use is interesting to me because it can be useful for any file
system, particularly networked file systems.

- z
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 0/6][RFC] Cleanup FIBMAP, Mike Waychison, (Fri Oct 26, 7:37 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, H. Peter Anvin, (Sat Oct 27, 8:43 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Anton Altaparmakov, (Sat Oct 27, 1:57 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Chris Mason, (Mon Oct 29, 10:10 am)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Mike Waychison, (Mon Oct 29, 3:16 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Andreas Dilger, (Mon Oct 29, 3:47 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Mon Oct 29, 12:30 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Mike Waychison, (Mon Oct 29, 3:18 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Mon Oct 29, 4:00 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Ric Wheeler, (Wed Oct 31, 7:06 am)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Wed Oct 31, 12:16 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Ric Wheeler, (Wed Oct 31, 1:17 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Chris Mason, (Mon Oct 29, 3:46 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Zach Brown, (Mon Oct 29, 4:01 pm)
Re: [patch 0/6][RFC] Cleanup FIBMAP, Szabolcs Szakacsits, (Sat Oct 27, 5:45 pm)