Skip to content

lihuiba/dm-foolcache

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Foolcache

Foolcache behaves like other block caches like flashcache, dm-cache or bcache. The unique feature that foolcache provides is that, data stored in cache media is organized exactly the same as in origin, so foolcache can be used in conjunction with a background replicator.

Foolcache has the following features:

  1. Copy-on-Read(CoR), which copies data when a block it is read.

  2. The ability to transform a cache into a full replica, without data movement.

  3. Full-sized cache media, which eliminates the need for cache invalidation. "full" and "fool" are homophonic.

  4. In the future, Copy-on-Write(CoW), which copies data when a block is partially written.

Foolcache judges whether a block has been cached or not by looking-up a bitmap, and foolcache stores meta-data at the tail of the cache media.

About

A simple block-level cache, and background replicator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published