It should allow to avoid filling up the io cache with the copied data.
The current behavior pushes the cached data of other process out of the memory
and slows down the system as the ram gets filled up.
For exemple, I use rsync without this patch, rsync use 7GB of ram and when it's
finished, cache ram is always used.
When I use rsync with this patch, rsync use 7GB of ram but when it's finished,
cache ram is removed and avoid an unnecessary swap.
Website of the patch : http://insights.oetiker.ch/linux/fadvise/
Patch file : http://tobi.oetiker.ch/patches/rsync-3.0.9-2-fadvise.patch
Thank you for patch. It will be included into Fedora after its acceptance by uptream.
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '18'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 18's end of life.
Thank you for reporting this issue and we are sorry that we may not be
able to fix it before Fedora 18 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior to Fedora 18's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
As this patch was rejected by upstream, I am closing with wontfix status.