Graham Leggett wrote: > On Wed, October 25, 2006 2:54 pm, Davi Arnaut wrote: > >> Nice. Later you should post your solution so others having the same >> problem may google it. > > It's in r467655 :) > > Next task is to figure out an efficient way to write a brigade to a file. > > Are there any SENDFILE-like tricks to do this?
Unfortunately, no. ie: sendfile is only for moving data from a file to a socket. Maybe if someone implemented splice/tee, but this only matters when the brigade buckets (or buffers) are not already in user space. -- Davi Arnaut
