You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joshua McKenzie (JIRA)" <ji...@apache.org> on 2015/01/08 19:09:35 UTC

[jira] [Created] (CASSANDRA-8584) Add strerror output on failed trySkipCache calls

Joshua McKenzie created CASSANDRA-8584:
------------------------------------------

             Summary: Add strerror output on failed trySkipCache calls
                 Key: CASSANDRA-8584
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8584
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Joshua McKenzie
            Assignee: Joshua McKenzie
            Priority: Trivial
             Fix For: 2.1.3


Since trySkipCache returns an errno rather than -1 and setting errno like our other CLibrary calls, it's thread-safe and we could print out more helpful information if we failed to prompt the kernel to skip the page cache.  That system call should always succeed unless we have an invalid fd as it's free to ignore us.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)