On Thu, 27 Sep 2001, Brian Pane wrote: > The other big complication is that we'd need a way to avoid blocking > on disk reads if a client requests a file that isn't currently in the > filesystem cache. I guess mincore(2) would work in cases where we happen > to have the file mmap'ed, but is there a way to tell whether a sendfile > call will block on a filesystem read?
there's no async sendfile equivalent that i know of ... although i think something of that sort is available in some linux patches and planned for the 2.5 kernel. -dean