[sheepdog] [PATCH 0/4] cleaning the work queue mechanism

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Tue Oct 22 09:13:09 CEST 2013


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




More information about the sheepdog mailing list