Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial implementation of file-backed durable cuckoo storage engine #217

Merged
merged 2 commits into from
Mar 22, 2019

Commits on Mar 22, 2019

  1. storage: introduce shm/pmem backed datapool abstraction

    This patch creates a datapool abstraction for managing large amounts
    of contiguous memory, and adds two implementations:
     - shm, backed by shared memory allocated through cc_alloc
     - pmem, backed by memory-mapped file managed through libpmem
    
    The default implementation, datapool_shm, currently does not differ from
    simply managing memory through cc_alloc/cc_free.
    
    The datapool_pmem implementation, which can be enabled through
    -DUSE_PMEM=ON, allows for durable (persistent) implementations of the
    storage layer as it attempts to recover the previous content
    of the managed memory.
    pbalcer committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    81e7eb3 View commit details
    Browse the repository at this point in the history
  2. cuckoo: use datapool for cuckoo data storage

    This patch uses the datapool interface to allow for durable
    operations of the cuckoo storage engine.
    
    To enable durable storage, provide a path to a file in
    "cuckoo_datapool" config option. If no file is provided, the
    datapool falls back to shared memory.
    pbalcer committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    2a2d3c6 View commit details
    Browse the repository at this point in the history