Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support

From: Ingo Molnar
Date: Tue Feb 13 2007 - 17:28:50 EST



* Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> > really, what's the point behind aio_cancel()?
>
> The main use case is when you open a file requester on a network file
> system where the server is down and you get tired of waiting and press
> "Cancel" it should abort the hanging IO immediately.

ok, that should work fine already - exit in the user context gets
propagated to all async syslet contexts immediately. So if the syscalls
that the syslet uses are reasonably interruptible, it will work out
fine.

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