K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-11-26T13:06:31.571735Z K 7 svn:log V 427 In sendfile() move the I/O out of the inner loop. Now we collect a chain of mbufs, with attached sfbufs, with attached pages, and then pass it once to sendfile_read(). The latter scans for the first invalid page, and then initiates I/O. Thus, now number of VFS I/Os is equal to number of writes to the socket. Right now sendfile() on shared memory file descriptors is broken. Sponsored by: Netflix Sponsored by: Nginx, Inc. END