On Wed, Dec 18, 2013 at 03:04:21PM +0900, Hitoshi Mitake wrote: > Previous protection scheme of wi->nr_thread in work.c was > unclear because wi->startup_lock was also used for protecting it > during workqueue grow/shrink. This patch let work.c protect > wi->nr_thread by the new wi->workers_lock.
how about merge ->workers_lock and ->pending_lock into a single lock? It looks neater. Thanks Yuan -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
