Skip to content
This repository was archived by the owner on May 8, 2021. It is now read-only.
Scott Peterson edited this page Feb 13, 2019 · 6 revisions

The wip-librbd-rwl-3 branch here contains the Replicated Write Log (RWL) for RBD. RWL is a write-back cache for RBD. RWL works best in byte addressable persistent memory. RWL supports replication, ideally over RDMA.

What is this, and how does it work?

How to enable cache on an image, and see that it works.

  • Common issues
  • Plans and discussions
    • First wave (PR 24066)
      • Capabilities and limitations Unreplicated write-back cache. Requires fsdax filesystem on pmem. Meets Intel's tail latency performance target (99.99% of writes complete in <3mS, 2K IOPS, 4K random writes).
      • TODO for merge
        • Enable RWL with image feature bit (done)
        • Persist ImageCache state in image metadata (done)
        • Integrate ImageCache init with exclusive lock acquire (mostly done)
        • Add rbd CLI tool command to discard a dirty image cache (in progress)
        • Make ImageCaches aseparately loaded plugin (not started)
    • Next wave goals
      • Complete replication support
      • Add SSD support

Clone this wiki locally