I am using dm-cache successfully for quite a while now. Now I would like to know which files are being currently in the cache. I understand that dm-cache works with blocks, not files, but since there is a filesystem above it should be possible in theory to translate this to (parts of) files being cached.Of course I care about a practical solution: How can I list what is currently in dm-cache?
Discover what is cached by dm-cache
linux;cache;ssd