[Flac-dev] Iterating metadata using O_NOATIME, instead of only restoring the stat values
Philip Van Hoof
philip at codeminded.be
Thu Sep 22 01:19:41 PDT 2011
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
More information about the Flac-dev
mailing list