Re: [PATCH 23/32] net/ceph: make ceph_msgr_wq non-reentrant

2011-01-03 Thread Sage Weil
On Mon, 3 Jan 2011, Tejun Heo wrote: > ceph messenger code does a rather complex dancing around multithread > workqueue to make sure the same work item isn't executed concurrently > on different CPUs. This restriction can be provided by workqueue with > WQ_NON_REENTRANT. > > Make ceph_msgr_wq non

[PATCH 23/32] net/ceph: make ceph_msgr_wq non-reentrant

2011-01-03 Thread Tejun Heo
ceph messenger code does a rather complex dancing around multithread workqueue to make sure the same work item isn't executed concurrently on different CPUs. This restriction can be provided by workqueue with WQ_NON_REENTRANT. Make ceph_msgr_wq non-reentrant workqueue with the default concurrency