Technology moves fast! ⚑ Don't get left behind.🚢 Subscribe to our mailing list to keep up with latest and greatest in open source projects! πŸ†

Subscribe to our mailing list


A general purpose, write-back block cache for Linux.

Subscribe to updates I use flashcache

Statistics on flashcache

Number of watchers on Github 1468
Number of open issues 28
Average time to close an issue 5 months
Main language C
Average time to merge a PR 3 days
Open pull requests 12+
Closed pull requests 17+
Last commit almost 2 years ago
Repo Created over 9 years ago
Repo Last Updated over 1 year ago
Size 561 KB
Organization / Authorfacebookarchive
Latest Release3.1.3
Page Updated
Do you use flashcache? Leave a review!
View open issues (28)
View flashcache activity
View on github
Fresh, new opensource launches πŸš€πŸš€πŸš€
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating flashcache for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

This project is not actively maintained. Proceed at your own risk!_**

License : Everything in flashcache components released under GPL v2.

Update : Added the flashcache-wt directory, which contains a (separate) module for a write through flashcache. For more details, look at flashcache-wt/README.

Building Flashcache :

Update : Vadim Tkachenko (with help from Mohan), ported Flashcache to later Linux releases. We now have built Flashcache on 2.6.18, 2.6.20 and 2.6.27-32. We have tested Flashcache on 2.6.18, 2.6.20, 2.6.27 and 2.6.32.

You'll need the entire kernel source tree in order to build flashcache.

At the top directory, run


This builds both the flashcache.ko and 3 utilities.

flascache-sa-guide.txt has details on how to create and load flashcache volumes.

Mohan Srinivasan Paul Saab

flashcache open issues Ask a question     (View All Issues)
  • about 3 years dmsetup remove a flashcache device whose cache mode is writethrough or writearound would hang or reboot the host
  • over 3 years Initramfs order problem with softraid on Debian
  • over 3 years Linux 4.4 build failure.
  • over 3 years Can flashcache works with DRBD.
  • almost 4 years Possible locking between multiple flashcache devices on one host
  • almost 4 years How does flashcache handle the BIO_FLUSH and BIO_FUA in kernel 2.6.32*?
  • almost 4 years Anyone test flashcache in Centos7?
  • almost 4 years Server crash after the implementation of flashcache
  • almost 4 years Cache only active for logical volumes created after reboot
  • almost 4 years flashcache on arm64
  • about 4 years Devices in /dev/mapper only appear randomly after (re)boot
  • over 4 years Cache creation isn't persisted accross reboots
  • over 4 years Failure creating flashcache with 1 sector blocksize
  • over 4 years kernel hangs up while backend disk is missing
  • over 4 years I/O issues using flashcache, broken system files
  • over 4 years Will it support TRIM operation?
  • over 4 years Cannot build on kernel 3.17.1 - wait_on_bit_lock (possibly needs switch to wait_on_bit_lock_action)
  • over 4 years line 440 VERIFY(dmc->cache_mode != FLASHCACHE_WRITE_BACK)
  • almost 5 years Poor read hit ratio
  • almost 5 years Read Issue in writethrough mode
flashcache open pull requests (View All Pulls)
  • fix a bug of sysctl for centos 6.3 kernel 2.6.32-279
  • Typo in flashcache_create.mdwn
  • Switch from ioctl to dm target messages for PID blacklist/whitelist manipulation
  • Fix build error on Linux 4.3.
  • made automatic retrieval of kernel version more flexible and allowing…
  • fix the issue setting block size to 1 sector
  • Fix flashcache contructor parameter check
  • Systemd init support for loading cache volumes
  • Fix kernel error
  • rhel 7.3 compile error
  • Switch workers to system_unbound_wq.
  • Fix misleading-indentation error.
flashcache questions on Stackoverflow (View All Questions)
  • How does flashcache make full blocksize request?
flashcache list of languages used
flashcache latest release notes
3.1.3 stable_v3.1.3 Release

stable_v3.1.3 release created upon request.

3.1.2 stable_v3.1.2 Release

Cutting minor release 3.1.2 with compilation fixes for newer kernels

3.1.1 stable_v3.1.1 Release
Other projects in C