Re: Linux Buffer Cache Does Not Support Mirroring

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 2 Nov 1999 17:56:26 +0000 (GMT)


> I looked at the brw_page code. While everyone calls this an "async"
> interface, in fact, it uses the same semantic as a sync interface and
> does not allow support for callbacks.

Its a function pointer. What else do you need other than passing a parameter
void * or similar to get more flexibility.

You can use the callback to wake a thread, you can schedule a task after
IRQ completion, you can do stuff directly on the IRQ callback if you are
careful about deadlocks.

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