diff options
author | avg <avg@FreeBSD.org> | 2017-10-01 15:03:44 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2017-10-01 15:03:44 +0000 |
commit | f06a9a5a8f5dcc0bbf7c6a00fbe76dc108a3661c (patch) | |
tree | e6cca0bb90d7520e47fbc4077be0cdffbfec1e47 /contrib/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp | |
parent | dcfc2bd7cd1285924c2dcad43a959a082ffb2903 (diff) | |
download | FreeBSD-src-f06a9a5a8f5dcc0bbf7c6a00fbe76dc108a3661c.zip FreeBSD-src-f06a9a5a8f5dcc0bbf7c6a00fbe76dc108a3661c.tar.gz |
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
Diffstat (limited to 'contrib/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions