[Bug 63402] New: Avatar image caching is not asynchronous

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 11 00:54:59 CEST 2013


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

          Priority: medium
            Bug ID: 63402
          Assignee: telepathy-bugs at lists.freedesktop.org
           Summary: Avatar image caching is not asynchronous
        QA Contact: telepathy-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: veluca93 at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git master
         Component: tp-glib
           Product: Telepathy

Created attachment 77788
  --> https://bugs.freedesktop.org/attachment.cgi?id=77788&action=edit
Patch

In contact_avatar_retrieved, some blocking I/O function calls are used.

This causes, for example, gnome-shell to completely freeze under heavy disk I/O
trying to cache avatars to disk (fsync() system calls take up to 0.8s on my
system). This problem is especially noticeable on SSDs.

The patch I attached should fix this problem. It also changes the test on
contacts to wait for writes to have completed before checking the contents of
the files.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list