Re: Approaches to making io_submit not block

Christoph Hellwig
2011-09-01T04:21:04Z

On Thu, Sep 01, 2011 at 01:39:02PM +1000, Dave Chinner wrote:
> > I'll get it polished up and send it out for RFC once Dave sends out
> > the updated allocation workqueue patch. With this he moves all
> > allocator calls in XFS into a workqueue. My direct I/O patch uses that
> > fact to use that workqueue for the allocator call and let the existing
> > aio retry infrastructure retry the direct I/O operation one that
> > workqueue has finished.
>
> I thought you didn't like that code, Christoph. ;)

I still don't like it, but in for this case it actually was helpful.
You'll always have to see the positive side of things.