cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rei Odaira (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-11576) Add support for JNA mlockall(2) on POWER
Date Thu, 14 Apr 2016 21:12:25 GMT
Rei Odaira created CASSANDRA-11576:

             Summary: Add support for JNA mlockall(2) on POWER
                 Key: CASSANDRA-11576
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
         Environment: POWER architecture
            Reporter: Rei Odaira
            Priority: Minor
             Fix For: 2.1.x, 2.2.x, 3.0.x, 3.x

org.apache.cassandra.utils.CLibrary contains hard-coded C-macro values to be passed to system
calls through JNA. These values are system-dependent, and as far as I investigated, Linux
and AIX on the IBM POWER architecture define {{MCL_CURRENT}} and {{MCL_FUTURE}} (for mlockall(2))
as different values than the current hard-coded values.  As a result, mlockall(2) fails on
these platforms.
WARN  18:51:51 Unknown mlockall error 22
I am going to provide a patch to support JNA mlockall(2) on POWER.

This message was sent by Atlassian JIRA

View raw message