Re: nonblocking disk read again

tytso@mit.edu
Fri, 15 Oct 1999 14:47:33 -0400


From: "Stephen C. Tweedie" <sct@redhat.com>
Date: Thu, 14 Oct 1999 22:12:17 +0100 (BST)

Yes, and in principle it would be possible to make the sendfile
completely asynchronous, essentially by doing the disk IO asynchronously
from a dedicated kernel thread.

The other way of doing this is with callbacks; simply register the async
sendfile function with an IO completion hook, and keep all of the state
for the async sendmail in a structure. Then you can handle the async
sendmail processing in a bottom half task, without having to dedicate a
whole kernel thread to it.

- Ted

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