From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHbzO-0003vH-KX for qemu-devel@nongnu.org; Mon, 18 Mar 2013 11:28:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHbzJ-0007RY-Q8 for qemu-devel@nongnu.org; Mon, 18 Mar 2013 11:28:42 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:44883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHbzJ-0007RS-Ko for qemu-devel@nongnu.org; Mon, 18 Mar 2013 11:28:37 -0400 Received: by mail-wg0-f45.google.com with SMTP id dq12so5172048wgb.12 for ; Mon, 18 Mar 2013 08:28:37 -0700 (PDT) Date: Mon, 18 Mar 2013 16:28:33 +0100 From: Stefan Hajnoczi Message-ID: <20130318152833.GC13065@stefanha-thinkpad.redhat.com> References: <1363588075-6660-1-git-send-email-namei.unix@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1363588075-6660-1-git-send-email-namei.unix@gmail.com> Subject: Re: [Qemu-devel] [PATCH] sheepdog: show error message for halt status List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Yuan Cc: Kevin Wolf , MORITA Kazutaka , qemu-devel@nongnu.org, Stefan Hajnoczi On Mon, Mar 18, 2013 at 02:27:55PM +0800, Liu Yuan wrote: > From: Liu Yuan > > Sheepdog (neither quorum nor unsafe mode) will refuse to serve IO requests when > number of alive nodes is less than that of copies specified by users. This will > return 0x19 to QEMU client which currently doesn't recognize it. > > This patch adds an error description when QEMU client receives it, other than > plainly printing 'Invalid error code' > > Cc: MORITA Kazutaka > Cc: Kevin Wolf > Cc: Stefan Hajnoczi > Signed-off-by: Liu Yuan > --- > block/sheepdog.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Stefan Hajnoczi