This can be temporarily worked around using the same method as the one
used to work around Firefox fsyncing excessively; by creating a wrapper
that replaces the fsync() function with a noop dummy. See
http://ubuntuforums.org/showthread.php?t=1103926.

    fsync.c:
            int fsync (int fd)
            {
                return 0;
            }

    $ gcc -fPIC -g -c -Wall fsync.c
    $ gcc -shared -Wl,-soname,fsync.so -o fsync.so fsync.o -lc
    $ mkdir ~/.misc
    $ mv fsync.* ~/.misc

    (+x) /usr/local/bin/quassel (or /usr/local/bin/quassel-nofsync, or whatnot):
            #!/bin/bash
            export LD_PRELOAD=$HOME/.misc/fsync.so
            /usr/bin/quassel "$@" &

-- 
Quassel very I/O intensive, fsync()ing to disk after each log entry
https://bugs.launchpad.net/bugs/355552
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to