Hi, If I have a file on the disk that is using btrfs. Is there an API call, IOCTL call that I can make to get from filename to which sectors it is stored in? If there is a command line tool, that would be ok too, because I could find out the API calls from looking at the source code. I have 100k files that I need to scan regularly on a HDD. If I knew where they were on the disk, I could order the files in such a way as to reduce seeks on the disk to read the files. I.e. Read files from the lowest sector to the highest sector. This would speed up the task of reading the files. Kind Regards James
