[Bug 222288] g_bio leak after zfs ABD commit
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Oct 1 15:04:37 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222288
--- Comment #10 from commit-hook at freebsd.org ---
A commit references this bug:
Author: avg
Date: Sun Oct 1 15:03:44 UTC 2017
New revision: 324161
URL: https://svnweb.freebsd.org/changeset/base/324161
Log:
MFV r323796: fix memory leak in g_bio zone introduced in r320452
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
Changes:
_U stable/11/
stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-fs
mailing list