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

v4:
 - rebase on Yuan's patch

v3:
 - in the 3rd patch, add a new mutex for protecting nr_threads

v2:
 - preserve correct locking schemes for the data structures


Hitoshi Mitake (3):
  work: protect nr_threads by wi->workers_lock
  work: make locking by queue_work() more fine grain
  work: improve namings and fix obsolete comments

 lib/work.c |   70 +++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 39 insertions(+), 31 deletions(-)

-- 
1.7.10.4

-- 
sheepdog mailing list
sheepdog@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to