From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz7rK-0000ky-SH for qemu-devel@nongnu.org; Wed, 08 Aug 2012 11:07:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz7rE-0004vt-I0 for qemu-devel@nongnu.org; Wed, 08 Aug 2012 11:07:42 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:59626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz7rD-0004us-W9 for qemu-devel@nongnu.org; Wed, 08 Aug 2012 11:07:36 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 9 Aug 2012 01:07:05 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q78Ex2A324445168 for ; Thu, 9 Aug 2012 00:59:03 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q78F7RQl020499 for ; Thu, 9 Aug 2012 01:07:28 +1000 Date: Wed, 8 Aug 2012 20:38:57 +0530 From: Bharata B Rao Message-ID: <20120808150857.GB16508@in.ibm.com> References: <20120807075928.GB7480@in.ibm.com> <20120807080157.GD7480@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v5 2/2] block: Support GlusterFS as a QEMU block backend Reply-To: bharata@linux.vnet.ibm.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Anthony Liguori , Anand Avati , Stefan Hajnoczi , Vijay Bellur , Amar Tumballi , qemu-devel@nongnu.org, Blue Swirl , Paolo Bonzini On Wed, Aug 08, 2012 at 03:37:31PM +0100, Stefan Hajnoczi wrote: > > I have left a few small comments. Perhaps you can resend with your > fixes to Patch 1? Sure, Will send v6 with fixes to patch 1 and incorporating your suggestions. > > + */ > > +#include "block_int.h" > > +#include > > System headers followed by user headers is a good order to prevent > application-specific macros from interfering with system headers: > > #include > #include "block_int.h" Ok. > > + *'port' is the port number on which gluster management daemon (glusterd) is > > Missing space: * 'port' > > + error_report("Usage: file=gluster://server:[port]/volname/image" > > server[:port] Sharp eyes! Will fix. > > + > > + /* > > + * TODO: Use GF_LOG_ERROR instead of hard code value of 4 here when > > + * GlusterFS exports it in a header. > > + */ > > + ret = glfs_set_logging(glfs, "-", 4); > > Are you submitting the GlusterFS patch to move > gf_loglevel_t/GF_LOG_ERROR to the API headers? I have already informed them about this. I will work with them to make sure that GL_LOG_* definitions are available for the users of libgfapi. Regards, Bharata.