Update: Debox sendfile modifications
Mike Silbersack
silby at silby.com
Wed Nov 5 00:29:56 PST 2003
On Wed, 5 Nov 2003, Vivek Pai wrote:
> If you were to have sendfile issue the disk reads, how would you signal
> completion? I guess one approach is to make the socket buffer appear to
> have no space while the sendfile-initiated read is in progress, but
> it seems to me that such an approach would be considered too ugly. It
> would cause the least modification to applications, because otherwise
> apps need to disable interest on the socket having space, and re-enable
> it after getting notified that the sendfile-initiated read (and
> transfer) completed. Am I missing something?
>
> -Vivek
I'm not quite certain how I would do it yet. At this point in time I'm
just brainstorming. I have some other things I'd like to work on in the
next few weeks, I'll sit down and think about this more in late November /
early December if I'm still in the right mindset.
Mike "Silby" Silbersack
More information about the freebsd-hackers
mailing list