Will ZFS ever support NVMe as cache like bcache/dm-cache?

Review Wendel’s post on ZFS special devices and look for the ‘special_small_blocks’ parameter.

When set to >0 the special device stores data chunks up to that size. If the special devices are significantly faster than the main storage media for accessing these smaller chunk sizes (e.g. nvme vs. hdd) this setup will result in a significant performance gain.

It should at least be higher than a construct of LVM on top of ZFS ZVols.

1 Like