ZFS Is TRIM supported for caching devices?

Is TRIM supported for ZFS caching devices or I need to provide over-provisioning manually to help garbage collector? I found information about TRIM only for general pool members.
 
Since FreeBSD 9.2 it is working and it is enabled by default.

Code:
# sysctl vfs.zfs.trim

vfs.zfs.trim.enabled: 1
vfs.zfs.trim.txg_delay: 32
vfs.zfs.trim.timeout: 30
vfs.zfs.trim.max_interval: 1
 
Back
Top