>> 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
-