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 -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
