Messages in this thread | | | Date | Tue, 5 Apr 2011 09:07:09 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH] workqueue: Separate out drain_workqueue() from destroy_workqueue() |
| |
On Tue, Apr 05, 2011 at 07:47:01AM -0700, James Bottomley wrote: > > James, does this seem to fit your use cases? > > Perfectly, thanks. It makes sure we have eliminated all work the > workqueues generated before we return. This is needed in some of the > SCSI waits where we want all discovery to complete, not just the piece > the WQ started.
Cool, applied to wq#for-2.6.40 with minor printk adjustments. Please feel free to pull into SCSI if necessary. It's a stable branch and currently contains only the single commit.
git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-2.6.40
Thanks.
-- tejun
| |