freebsd-dev/sys/cddl/contrib/opensolaris/uts
Steven Hartland a559adfbce Disable TRIM on file backed ZFS vdevs and fix TRIM on init
After r265152 TRIM requests are ZIO_TYPE_FREE instead of ZIO_TYPE_IOCTL
this meant file backed vdevs to attempted to process the ZIO as a write
causing a panic.

We now disable TRIM on file backed vdevs and ASSERT the ZIO types supported
by each vdev type to ensure we explicity support the ZIO type being
processed.

Also ensure that TRIM on init is not procesed for devices which declare they
didn't support TRIM via vdev_notrim.

PR:		195061, 194976, 191573
Sponsored by:	Multiplay
2014-11-17 11:32:10 +00:00
..
common Disable TRIM on file backed ZFS vdevs and fix TRIM on init 2014-11-17 11:32:10 +00:00
intel DTrace's pid provider works by inserting breakpoint instructions at probe 2014-04-14 00:22:42 +00:00
mips
powerpc Correct the check for errors from proc_rwmem(). 2013-12-11 04:31:40 +00:00
sparc MFC r270195: 2014-08-20 21:44:48 +00:00