Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
[opensuse] Re: XFS and openSUSE 12.1
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!
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups