13 Jun
2013
13 Jun
'13
01:58
On Wed, Jun 12, 2013 at 6:38 PM, Linda Walsh <suse@tlinx.org> wrote:
Greg Freemyer wrote:
open() write() fsync() posix_fadvise(fd, 0, len, POSIX_FADV_DONTNEED) close()
---- FWIW -- the calls are *advisory*, meaning the kernel may still not do what you want, versus, O_DIRECT you are avoiding the membuffer and its associated "garbage collection", altogether. So if it works for you, yeay!
Asking if it works seems like an easy question for the xfs list, but it seems like it should be filesystem independent to me. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org