Re: [PATCH] Use FIBMAP to sort .list files before scanning
* Guillem Jover:
> On kFreeBSD there's FIOGETLBA, but it seems to only be implemented for
> the cd9660 file system, so not of much use. Also AFAIU from taking a
> look at Linux, FIBMAP is being phased out by FIEMAP?
FIBMAP is the correct system call here because FIEMAP does unnecessary
work. It's root-only, though, and there are some concerns if it's
actually safe to use (because no one could give a compelling reason
why it was made root-only---FIEMAP isn't).