ASSERT the type of zio's processed by file and disk vdevs, which helps protect against invalid zio being processed by these vdev types e.g. on FreeBSD which uses ZIO_TYPE_FREE for TRIM support.
This was included in FreeBSD at part of r274619 (Nov 17 2014). You can view, comment on, or merge this pull request online at: https://github.com/openzfs/openzfs/pull/43 -- Commit Summary -- * ASSERT supported zio_types for file and disk vdevs -- File Changes -- M usr/src/uts/common/fs/zfs/vdev_disk.c (2) M usr/src/uts/common/fs/zfs/vdev_file.c (2) -- Patch Links -- https://github.com/openzfs/openzfs/pull/43.patch https://github.com/openzfs/openzfs/pull/43.diff --- Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/43
_______________________________________________ developer mailing list developer@open-zfs.org http://lists.open-zfs.org/mailman/listinfo/developer