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' <stefa...@redhat.com>; 'Fam Zheng'
> <f...@euphon.net>; 'qemu-bl...@nongnu.org' <qemu-bl...@nongnu.org>
> Cc: 'qemu-devel@nongnu.org' <qemu-devel@nongnu.org>; changlimin (Cloud)
> <changli...@h3c.com>; chengchiwen (Cloud) <chengchi...@h3c.com>;
> wangyongqing (Cloud) <w_yongq...@h3c.com>; wangyong (Cloud)
> <wang.yo...@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 via email to