[sheepdog] [PATCH v4 0/3] cleaning the work queue mechanism
Hitoshi Mitake
mitake.hitoshi at lab.ntt.co.jp
Wed Dec 18 07:04:20 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.
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
More information about the sheepdog
mailing list