Received: from eggs.gnu.org ([208.118.235.92]:44558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv3ds-00069E-Jl for qemu-devel@nongnu.org; Tue, 15 Jan 2013 05:21:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tv3dp-0000EU-BT for qemu-devel@nongnu.org; Tue, 15 Jan 2013 05:21:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:18135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv3dp-0000EO-43 for qemu-devel@nongnu.org; Tue, 15 Jan 2013 05:21:13 -0500 Date: Tue, 15 Jan 2013 11:20:47 +0100 From: Stefan Hajnoczi Message-ID: <20130115102047.GA9086@stefanha-thinkpad.redhat.com> References: <1358143263-14565-1-git-send-email-namei.unix@gmail.com> <1358238535-2075-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: <1358238535-2075-1-git-send-email-namei.unix@gmail.com> Subject: Re: [Qemu-devel] [PATCH v3] sheepdog: multiplex the rw FD to flush cache List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Yuan Cc: Kevin Wolf , qemu-devel@nongnu.org, MORITA Kazutaka On Tue, Jan 15, 2013 at 04:28:55PM +0800, Liu Yuan wrote: > From: Liu Yuan > > This will reduce sockfds connected to the sheep server to one, which simply the > future hacks. > > Cc: MORITA Kazutaka > Cc: Kevin Wolf > Cc: Stefan Hajnoczi > Signed-off-by: Liu Yuan > --- > v3: fix gcc warning in add_aio_request() > > block/sheepdog.c | 82 ++++++++++++++++++++++++------------------------------ > 1 file changed, 37 insertions(+), 45 deletions(-) Please remember to run scripts/checkpatch.pl before posting patches. I fixed up a tab character that snuck into this patch. Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan