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

Hitoshi Mitake mitake.hitoshi at gmail.com
Tue Dec 17 15:42:52 CET 2013


Current work queue mechanism of libsheepdog has some little but bother problems
related to coding style, functionality, and performance. This patchset solves
them.

v2:
 - preserve correct locking schemes for the data structures

Hitoshi Mitake (4):
  lib, sheep: exclude stuff for tracing when it is not enabled
  work: protect nr_threads by wi->startup_lock
  work: make locking by queue_work() more fine grain
  work: improve namings and fix obsolete comments

 include/work.h      |   7 +++-
 lib/Makefile.am     |   4 ++
 lib/work.c          | 105 ++++++++++++++++++++++++++++++++++------------------
 sheep/Makefile.am   |   1 +
 sheep/trace/trace.c |   1 +
 5 files changed, 80 insertions(+), 38 deletions(-)

-- 
1.8.1.2




More information about the sheepdog mailing list