[Top][All Lists]

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

Re: [Qemu-devel] Re: NBD server for QEMU images

From: Avi Kivity
Subject: Re: [Qemu-devel] Re: NBD server for QEMU images
Date: Thu, 14 Dec 2006 10:34:24 +0200
User-agent: Thunderbird (X11/20061107)

Salvador Fandino wrote:
I have run some tests and found that it's easy to cause a deadlock just
untaring a file over an nbd device being served from localhost (using
the standard nbd-server or my own, it doesn't matter).

Another interesting finding is that when the deadlock happens, qemu-nbds
is inside a read() call, waiting for new nbd requests to arrive over the
socket, and so, not trying to allocate memory or writing to disk.

If you use sysrq-t and a serial console, you will find exactly how it's waiting for memory.

Do not meddle in the internals of kernels, for they are subtle and quick to 

reply via email to

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