Current work queue mechanism of libsheepdog has some little but bother problems related to coding style, functionality, and performance. This patchset solves them.
Hitoshi Mitake (4): work: rename nr_workers -> nr_queued_work lib, sheep: exclude stuff for tracing when it is not enabled work: let worker threads start with pipe() work: make pending lock fine grain include/work.h | 7 ++- lib/Makefile.am | 4 ++ lib/work.c | 124 ++++++++++++++++++++++++++++++++++++--------------- sheep/Makefile.am | 1 + sheep/trace/trace.c | 1 + 5 files changed, 99 insertions(+), 38 deletions(-) -- 1.7.10.4 -- sheepdog mailing list sheepdog@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/sheepdog