Messages in this thread | | | Date | Tue, 12 Oct 2004 13:33:46 -0400 | From | Mark Lord <> | Subject | Re: [PATCH] QStor SATA/RAID driver for 2.6.9-rc3 |
| |
James Bottomley wrote: > > In that scenario, you use a separate workqueue.
Okay. But what thread should run that workqueue?
> However, when I last looked at your driver you were only using the > thread to provide user context for hotplug events ... where did this > back end finishing thread come from?
It's been there since day one. The interrupt handling sometimes requires more functionality than is available at interrupt time, so it uses schedule_work to have a bottom half re-run itself from thread context. This is needed in the error-processing and hot plug paths.
Cheers -- Mark Lord (hdparm keeper & the original "Linux IDE Guy") - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |