Current work queue mechanism of libsheepdog has some little but bother problems related to coding style, functionality, and performance. This patchset solves them.
v3: - in the 3rd patch, add a new mutex for protecting nr_threads 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->workers_lock work: make locking by queue_work() more fine grain work: improve namings and fix obsolete comments Liu Yuan (1): sheep/http: optimize read/write object by using async request include/work.h | 7 +++- lib/Makefile.am | 4 ++ lib/work.c | 114 +++++++++++++++++++++++++++++++++------------------ sheep/Makefile.am | 1 + sheep/http/kv.c | 101 +++++++++++++++++++++++++++++++++------------ sheep/trace/trace.c | 1 + 6 files changed, 160 insertions(+), 68 deletions(-) -- 1.7.10.4 -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
