DO NOT REPLY [Bug 7004] New: Use posix_fadvise to free cached file contents when done
samba-bugs at samba.org
samba-bugs at samba.org
Mon Dec 21 13:56:57 MST 2009
https://bugzilla.samba.org/show_bug.cgi?id=7004
Summary: Use posix_fadvise to free cached file contents when done
Product: rsync
Version: 3.0.6
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: ted at midg3t.net
QAContact: rsync-qa at samba.org
It would be good if rsync used posix_fadvise with POSIX_FADV_DONTNEED to notify
the kernel when it no longer needs file contents that have been synced to
prevent useful cache contents being dropped in favor of never-reused rsynced
files.
Tobias Oetiker wrote a patch & documentation about this:
http://insights.oetiker.ch/linux/fadvise.html
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- 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