Philip Van Hoof
2011-Sep-22 08:19 UTC
[Flac-dev] Iterating metadata using O_NOATIME, instead of only restoring the stat values
Hi there, At the Tracker project we use FLAC__metadata_simple_iterator_init to extract metadata from FLAC files. Although this API has a boolean that restores the stat results of the file after iteration, it's still not the same as passing O_NOATIME. Ideally we can pass a int fd instead of a filename, and doesn't the metadata iterator try to write to the fd at all. Then we can open() a fd with O_NOATIME ourselves. Regards, Philip -- Philip Van Hoof freelance software developer Codeminded BVBA - http://codeminded.be