DO NOT REPLY [Bug 7876] please implement o_direct

samba-bugs at samba-bugs at
Tue Jan 25 14:10:22 MST 2011

------- Comment #4 from samba-bugs at  2011-01-25 15:10 CST -------
Thanks for your feedback!

I had just found the patch by Tobi myself, and it is using mincore (now) to
check if a file has been cached before rsync touched it (and then skip removing
it from the cache).

Patch for 3.0.7:

I agree that something like "nice" and "ionice" would be the best approach, and
I find it rather unusual to not have something like that available already.
I have found the following wrapper, which is using O_DIRECT however:

For what it's worth, here's a link to the POSIX_FADV_DONTNEED implementation in
the current kernel:;a=blob;f=mm/fadvise.c;hb=refs/heads/master#l118

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list