Re: [RFC] Add support for semaphore-like structure with supportfor asynchronous I/O

From: Trond Myklebust
Date: Wed Mar 30 2005 - 19:03:58 EST


on den 30.03.2005 Klokka 15:44 (-0800) skreiv Andrew Morton:
> Trond Myklebust <trond.myklebust@xxxxxxxxxx> wrote:
> >
> > This is required in order to allow threads such as rpciod or keventd
> > itself (for which sleeping may cause deadlocks) to ask the iosem manager
> > code to simply queue the work that need to run once the iosem has been
> > granted. That work function is then, of course, responsible for
> > releasing the iosem when it is done.
>
> I see. I think. Should we be using those aio/N threads for this? They
> don't seem to do much else...

That would be quite OK by me if nobody objects.

Cheers,
Trond
--
Trond Myklebust <trond.myklebust@xxxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/