cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Kjellman <>
Subject Re: Use of posix_fadvise
Date Tue, 18 Oct 2016 15:47:13 GMT
Sure -- my bad, I aggregated them all of them up for you:✓&q=CLibrary.trySkipCache&type=Code<>

Or if you use IDEA this should work pretty well too:


On Oct 18, 2016, at 8:33 AM, Benedict Elliott Smith <<>>

... and continuing in the fashion of behaviours one might like to disabuse
people of, no code link is provided.

On 18 October 2016 at 16:28, Michael Kjellman <<>>

We use posix_fadvise in a bunch of places, and in stereotypical Cassandra
fashion no comments were provided.

There is a check the OS is Linux (okay, a start) but it turns out the
behavior of providing a length of 0 to posix_fadvise changed in some 2.6
kernels. We don't check the kernel version -- or even note it.

What is the *expected* outcome of our use of posix_fadvise -- not what
does it do or not do today -- but what problem was it added to solve and
what's the expected behavior regardless of kernel versions.


Sent from my iPhone

  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message