cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Kjellman <mkjell...@internalcircle.com>
Subject Use of posix_fadvise
Date Tue, 18 Oct 2016 15:28:33 GMT
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. 

best,
kjellman

Sent from my iPhone
Mime
View raw message