Gonglei a1abf40d6b linux-aio: Fix laio resource leak
when hotplug virtio-scsi disks using laio, the aio_nr will
increase in laio_init() by io_setup(), we can see the number by
  # cat /proc/sys/fs/aio-nr
  128
if the aio_nr attach the maxnum, which found from
  # cat /proc/sys/fs/aio-max-nr
  65536
the hotplug process will fail because of aio context leak.

Fix it by io_destroy in laio_cleanup().

Reported-by: daifulai <daifulai@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-07-15 15:34:13 +02:00
2014-07-15 15:34:13 +02:00
2014-07-09 15:50:11 +02:00
2014-07-14 13:09:29 +01:00
2014-07-14 12:03:21 +02:00
2014-07-08 15:08:03 +02:00
2014-07-11 14:50:18 +01:00
2014-07-14 13:09:29 +01:00
2014-07-09 15:50:11 +02:00
2014-07-09 15:50:11 +02:00
2014-07-10 17:06:29 +02:00
2014-07-14 12:03:21 +02:00
2014-07-08 16:53:59 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%