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

From: Andrew Morton
Date: Wed Mar 30 2005 - 18:48:51 EST


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...

-
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/