Спасибо. Я пробовал его в начале года, он почему-то заполнил SSD до конца на стресс-тесте и покораптился, данные спасти не удалось. Слава богу это была тестовая система, разбираться не стал. На боевом в итоге использовал ZFS (новый нативный под Linux) с L2ARC.
Опередили. У меня в черновиках развёрнутая статья по использованию flashcache.
Впрочем, у статьи ещё есть шансы, т.к., собственно, особенности работы с flaschace (например, управление размерами блока для кеширования, разницы между режимами кеширования и т.д.) нет.
Choice of Caching Modes:
=========================
Writethrough — safest, all writes are cached to ssd but also written to disk
immediately. If your ssd has slower write performance than your disk (likely
for early generation SSDs purchased in 2008-2010), this may limit your system
write performance. All disk reads are cached (tunable).
Writearound — again, very safe, writes are not written to ssd but directly to
disk. Disk blocks will only be cached after they are read. All disk reads
are cached (tunable).
Writeback — fastest but less safe. Writes only go to the ssd initially, and
based on various policies are written to disk later. All disk reads are
cached (tunable).
Cache Persistence:
=================
Writethru and Writearound caches are not persistent across a device removal
or a reboot. Only Writeback caches are persistent across device removals
and reboots. This reinforces 'writeback is fastest', 'writethrough is safest'.
Flashcache, или I/O на стероидах