It'd be pretty cool if rsync supported use of O_DIRECT on platforms that support it, with or without my odirect package: http://dcs.nac.uci.edu/~strombrg/odirect/ I say this because rsync is sometimes used to move a mountain of data, just once. So there's little point in rsync toasting one's buffer cache. I gather there's something like O_DIRECT on windows too, but it's mostly Linux and FreeBSD I'm interested in.
On 7/23/06, Dan Stromberg <strombrg@dcs.nac.uci.edu> wrote:> > > It'd be pretty cool if rsync supported use of O_DIRECT on platforms that > support it, with or without my odirect package:It would be great benefit for Linux and FreeBSD users. I know there are equivalents for Solaris (but I don't see it in a quick review of open(2) ) and Mac OS X must support something like it since "ditto" has a "--nocache" option that is similar. Tom -------------- next part -------------- HTML attachment scrubbed and removed