qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: util/async: File descriptor leak in aio_context_unref()?


From: Tuguoyi
Subject: RE: util/async: File descriptor leak in aio_context_unref()?
Date: Sun, 19 Jan 2020 08:57:06 +0000

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' <address@hidden>; 'Fam Zheng'
> <address@hidden>; 'address@hidden' <address@hidden>
> Cc: 'address@hidden' <address@hidden>; changlimin (Cloud)
> <address@hidden>; chengchiwen (Cloud) <address@hidden>;
> wangyongqing (Cloud) <address@hidden>; wangyong (Cloud)
> <address@hidden>
> 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

[Prev in Thread] Current Thread [Next in Thread]