Dave Dykstra wrote
> What about Linux? There's an O_DIRECT but the comment in asm/fcntl.h says
> it is currently ignored.
2.4.18, at least, honors O_DIRECT in generic_file_{read,write} via mm/filemap.c
-justinb
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
On Wed, Dec 04, 2002 at 03:41:33PM -0800, David Sisson wrote:
> We have some cases when copying indexes that we'd like rsync to avoid
> the system cache when copying a chunk of data from some other machine.
> I am probably going to modify our own copy of rsync to do this, but if
> we could w
On Thu, Dec 05, 2002 at 07:39:53AM -0500, Green, Paul wrote:
> But is there an OS-independent way to set this attribute? I haven't
> memorized the POSIX standard, but I don't recall seeing a way to set or get
> such an attribute.
Fyi: Solaris has directio(3C), FreeBSD has open(..., O_DIRECT).
--
From: David Sisson [mailto:[EMAIL PROTECTED]] asks:
> [...]
> If we could write directly to the disk using direct-io (or from for that
> matter) we could avoid polluting the operating system's buffer cache
> before we're ready to use the new data. Obviously this feature isn't
> tied to Direct-IO,
We have some cases when copying indexes that we'd like rsync to avoid
the system cache when copying a chunk of data from some other machine.
I am probably going to modify our own copy of rsync to do this, but if
we could write directly to the disk using direct-io (or from for that
matter)