Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] Re: XFS and openSUSE 12.1
On Thu, Jun 13, 2013 at 10:55 AM, Anton Aylward
<opensuse@xxxxxxxxxxxxxxxx> wrote:
Greg Freemyer said the following on 06/13/2013 10:04 AM:

The fadvise call only trashes cache that has already been written to
disk.


LOL!

An what's the call to trash the cache that HASN'T been written to disk?

Well, drop_caches first causes the dirty cache pages to be written,
then trashes them.

One might assume that WONTNEED would also flush any dirty cache pages
to disk, then trash them. The man page clearly states that is not
true, if they are dirty, they are ignored.

Greg
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread