freebsd-nq/sys/cddl
Andriy Gapon 3d5487d981 fix memory leak in g_bio zone introduced in r320452, another ABD fallout
I overlooked the fact that that ZIO_IOCTL_PIPELINE does not include
ZIO_STAGE_VDEV_IO_DONE stage.  We do allocate a struct bio for an ioctl
zio (a disk cache flush), but we never freed it.

This change splits bio handling into two groups, one for normal
read/write i/o that passes data around and, thus, needs the abd data
tranform; the other group is for "data-less" i/o such as trim and cache
flush.

PR:		222288
Reported by:	Dan Nelson <dnelson@allantgroup.com>
Tested by:	Borja Marcos <borjam@sarenet.es>
MFC after:	10 days
2017-09-20 08:27:21 +00:00
..
boot/zfs loader should support large_dnode 2017-09-12 13:45:04 +00:00
compat/opensolaris dounmount: do not release the mount point's reference on the covered vnode 2017-09-14 08:47:06 +00:00
contrib/opensolaris fix memory leak in g_bio zone introduced in r320452, another ABD fallout 2017-09-20 08:27:21 +00:00
dev Enable dtrace support for mips64 and the ERL kernel config 2017-09-06 03:19:52 +00:00