[Fontconfig-bugs] [Bug 64766] Make fontconfig scanning faster

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 15 00:14:02 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=64766

--- Comment #42 from Akira TAGOH <akira at tagoh.org> ---
(In reply to Timo Teräs from comment #40)
> >   - Remove the 2s wait if file system is not FAT.  This one is not really
> > important, but nice to have.
> 
> This is not done yet. And I'd really like this to go in before the next
> release. Would it be possible to push this out? I see recent commit now even
> taking into account the nanosecond field of mtime... this two second delay
> is pretty much harmful. If FAT is of concern still, it should have
> additional code to 'touch' the file until the stat() returned time is
> changed, or something similar.

Hmm, it is easier to have a wait in case the targeted FS is FAT. current code
has enough functionality to do that. but the problem is that wait itself seems
not meaningless so that fc-cache isn't a singleton process and easy to conflict
with the multiple processes on current code base.
Though it might be better than do nothing.
If there are any better idea, the suggestions are welcome.
I may go ahead with checking fs type for a workaround to see if fc-cache should
wait for 2s or not otherwise.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20151015/63d4389d/attachment.html>


More information about the Fontconfig-bugs mailing list