Branch: refs/heads/master
Home: https://github.com/ClusterLabs/libqb
Commit: 2a06ffecde042abaecc44c0828fe0e69ff8e6e9c
https://github.com/ClusterLabs/libqb/commit/2a06ffecde042abaecc44c0828fe0...
Author: Michael Chapman <mike(a)very.puzzling.org>
Date: 2014-06-05 (Thu, 05 Jun 2014)
Changed paths:
M lib/loop_poll_epoll.c
Log Message:
-----------
epoll: don't miss poll events under high load
If multiple epoll sources generate events simultaneously, it is possible
for more jobs to be added to particular priority level than will be
handled in one go by qb_loop_run_level(). If one of these epoll sources
gains a new event (say, by switching from "readable" to "readable and
writeable"), then this new event would be missed.
To fix this, merge new epoll events into revents regardless of whether
the job is on the joblist. When the job is dispatched, revents will be
cleared, or the epoll source will be deleted entirely.
Commit: 80fd68c26304e9a1e45ed33d8e09f1829d0af6e1
https://github.com/ClusterLabs/libqb/commit/80fd68c26304e9a1e45ed33d8e09f...
Author: David Vossel <dvossel(a)redhat.com>
Date: 2014-06-19 (Thu, 19 Jun 2014)
Changed paths:
M lib/loop_poll_epoll.c
Log Message:
-----------
Merge pull request #121 from AnchorCat/epoll
epoll: don't miss poll events under high load
Compare: https://github.com/ClusterLabs/libqb/compare/ac7a7ed69967...80fd68c26304
Branch: refs/heads/master
Home: https://github.com/ClusterLabs/libqb
Commit: edd2eec16c46b3970825705e6b695b73b936165c
https://github.com/ClusterLabs/libqb/commit/edd2eec16c46b3970825705e6b695...
Author: Michael Chapman <mike(a)very.puzzling.org>
Date: 2014-06-05 (Thu, 05 Jun 2014)
Changed paths:
M lib/ringbuffer.c
Log Message:
-----------
ringbuffer: fix qb_rb_open_2() debug format string
qb_log_target_formats() does not support formatting size_t values with
%zd. Use %ld to format them as long integers instead.
Commit: fad9ce01a036de258b87890ba46f9c624f8cf85a
https://github.com/ClusterLabs/libqb/commit/fad9ce01a036de258b87890ba46f9...
Author: Michael Chapman <mike(a)very.puzzling.org>
Date: 2014-06-05 (Thu, 05 Jun 2014)
Changed paths:
M lib/ringbuffer.c
Log Message:
-----------
ringbuffer: fix size in qb_rb_create_from_file()
qb_rb_open() expects the size field to represent the maximum chunk size.
It adds QB_RB_CHUNK_MARGIN + 1 and rounds up to the page size to
determine the ringbuffer's total size. When creating a ringbuffer from a
file we must compensate by subtracting this amount from the file's size.
Commit: ac7a7ed699671bbe15b8450a5fe9f1938c0adb60
https://github.com/ClusterLabs/libqb/commit/ac7a7ed699671bbe15b8450a5fe9f...
Author: David Vossel <dvossel(a)redhat.com>
Date: 2014-06-19 (Thu, 19 Jun 2014)
Changed paths:
M lib/ringbuffer.c
Log Message:
-----------
Merge pull request #122 from AnchorCat/ringbuffer
Fix a couple of bugs in the ringbuffer code
Compare: https://github.com/ClusterLabs/libqb/compare/f8b4a1bd913e...ac7a7ed69967