qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Tuguoyi <tu.guoyi@h3c.com>
To: Stefan Hajnoczi <stefanha@redhat.com>, Fam Zheng <fam@euphon.net>,
	"qemu-block@nongnu.org" <qemu-block@nongnu.org>
Cc: Wangyongqing <w_yongqing@h3c.com>, Wangyong <wang.yongD@h3c.com>,
	Changlimin <changlimin@h3c.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Chengchiwen <chengchiwen@h3c.com>
Subject: RE: util/async: File descriptor leak in aio_context_unref()?
Date: Sun, 19 Jan 2020 08:57:06 +0000	[thread overview]
Message-ID: <b612a2b0508e477d97a15b3e05994558@h3c.com> (raw)

OK, I got it, it will be released in aio_ctx_finalize().
Please ignore this mail.


> -----Original Message-----
> From: tuguoyi (Cloud)
> Sent: Sunday, January 19, 2020 4:15 PM
> To: 'Stefan Hajnoczi' <stefanha@redhat.com>; 'Fam Zheng'
> <fam@euphon.net>; 'qemu-block@nongnu.org' <qemu-block@nongnu.org>
> Cc: 'qemu-devel@nongnu.org' <qemu-devel@nongnu.org>; changlimin (Cloud)
> <changlimin@h3c.com>; chengchiwen (Cloud) <chengchiwen@h3c.com>;
> wangyongqing (Cloud) <w_yongqing@h3c.com>; wangyong (Cloud)
> <wang.yongD@h3c.com>
> Subject: util/async: File descriptor leak in aio_context_unref()?
> 
> In aio_context_new(), the @notifier variable will be initialized, but it
> don't get cleaned up in aio_context_unref() when reference count reaches
> to 0, it will cause file descriptor leak.
> --
> Best regards,
> Guoyi


             reply	other threads:[~2020-01-19  9:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-19  8:57 Tuguoyi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-01-19  8:14 util/async: File descriptor leak in aio_context_unref()? Tuguoyi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b612a2b0508e477d97a15b3e05994558@h3c.com \
    --to=tu.guoyi@h3c.com \
    --cc=changlimin@h3c.com \
    --cc=chengchiwen@h3c.com \
    --cc=fam@euphon.net \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=w_yongqing@h3c.com \
    --cc=wang.yongD@h3c.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).