freebsd-dev/sys/cddl/contrib/opensolaris/uts
Andriy Gapon 7bc07f0575 fix a serious bug in r258632: offset parameter must be set in zio
In illumos all ioctl zio-s are "global" at the moment.  That is they act
on a whole disk, e.g. a cache flush command, and thus do not need either
offset or size parameters.
FreeBSD, on the other hand, has support for TRIM command and that
command requires proper offset and size parameters.
Without this fix all TRIM commands act on the start of any disk or
partition used by ZFS destroying any data there.

Pointyhat to:	avg
Tested by:	sbruno
MFC after:	3 days
X-MFC with:	r258632
Sponsored by:	HybridCluster
2013-11-28 08:48:49 +00:00
..
common fix a serious bug in r258632: offset parameter must be set in zio 2013-11-28 08:48:49 +00:00
intel Use suword32 and suword64 instead of copyout(9). This fixes a bug in the 2013-11-05 06:13:46 +00:00
mips Add MIPS support to cddl/contrib part: 2012-03-24 04:52:18 +00:00
powerpc Add fasttrap for PowerPC. This is the last piece of the dtrace/ppc puzzle. 2013-10-15 15:00:29 +00:00
sparc In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00