[Bug 9560] drop-cache option

samba-bugs at samba.org samba-bugs at samba.org
Wed Dec 25 16:13:57 MST 2013


https://bugzilla.samba.org/show_bug.cgi?id=9560

Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #3 from Wayne Davison <wayned at samba.org> 2013-12-25 23:13:57 UTC ---
Since the patch is very linux-specific and overly klugy, it is better handled
by a general-purpose (linux-specific) wrapper that can be used with any copy
utility.

I'd suggest checking into this utility:

https://github.com/Feh/nocache

I've compiled/installed it and done some basic testing, and it seems to do a
good job of issuing the fadvise64() calls on the files rsync opens.

Some examples:

nocache rsync -aiv --rsync-patch='nocache rsync' some-host:/src/ /dest/
nocache rsync --daemon

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list