Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] Re: XFS and openSUSE 12.1
On Wed, Jun 12, 2013 at 6:38 PM, Linda Walsh <suse@xxxxxxxxx> 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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups