I have been considering bcache and flashcache.However my friend suggested me something called ZFS. In fact it says that formating disk with ZFS can actually do the exact same thing without kernel remake or whatever.Here are some resources I found on the webhttp://constantin.glez.de/blog/2011/02/frequently-asked-questions-about-flash-memory-ssds-and-zfsIt seems that it's true though there is no tutorial on how it is actually done...e you can come up with other great uses, but that almost always  involves some sort of intelligent distinction between data that is  accelerated with flash and data that is stored on regular disks. The  beauty of ZFS is that it does this job automatically for you.The beauty is exactly what I want.Okay I am convinced. I got a /sdc as a huge hard disk and I got /sdd as an ssd.Now how do I set things up so that the /sdd becomes the zil and l2arc and the /sdd becomes real storage?Can't we arrange that the zil and l2arc are in the same drive?I am using centosh. Don't know what version.I think I have a 120GB SSD.I would like40GB for L2ARC40GB for ZIL40GB for ZIL mirror.That seems to be reasonable. Datas are cached anyway. If someone write something and before data is written to disk will L2ARC takes it from ZIL?
How to set up ZFS with ZIL and L2ARC SSD?
filesystems;io;cache;zfs;disk