12764 Holes prevent TRIM
*** 415,425 **** &child, &children); if (children == 0) { char *path = zpool_vdev_name(g_zfs, zhp, nvroot, 0); ! if (strcmp(path, VDEV_TYPE_INDIRECT) != 0) fnvlist_add_boolean(res, path); free(path); return; } --- 415,426 ---- &child, &children); if (children == 0) { char *path = zpool_vdev_name(g_zfs, zhp, nvroot, 0); ! if (strcmp(path, VDEV_TYPE_INDIRECT) != 0 && ! strcmp(path, VDEV_TYPE_HOLE) != 0) fnvlist_add_boolean(res, path); free(path); return; }