KVM and ZVol TRIM/DISCARD passthrough handling clarification

@stux

  • When TRIM is passed through from the VM, ZFS should just tag the relevant blocks as unused in ZFS. “Hardware” TRIM should not be required for this
  • Admins can optionally TRIM their pools. There is a lot of discussion as to whether this is useful for SSD/NVMe and ZFS.

Last I checked, TRIM was not passed through and I also wanted that feature.

What version of TrueNAS are you running?