From: Jeff Cody <jcody@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com,
bharata@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH 1/2] block: gluster - code movements, state storage changes
Date: Fri, 14 Feb 2014 09:44:30 -0500 [thread overview]
Message-ID: <20140214144430.GA17514@localhost.localdomain> (raw)
In-Reply-To: <20140214141241.GE17391@stefanha-thinkpad.redhat.com>
On Fri, Feb 14, 2014 at 03:12:41PM +0100, Stefan Hajnoczi wrote:
> On Tue, Feb 04, 2014 at 02:26:58PM -0500, Jeff Cody wrote:
> > diff --git a/block/gluster.c b/block/gluster.c
> > index a009b15..79af3fd 100644
> > --- a/block/gluster.c
> > +++ b/block/gluster.c
> > @@ -30,6 +30,8 @@ typedef struct GlusterAIOCB {
> > typedef struct BDRVGlusterState {
> > struct glfs *glfs;
> > struct glfs_fd *fd;
> > + int open_flags;
>
> Is this field used? I only see stores to this field but no loads.
>
> Seems unnecessary since the block layer already provides us with QEMU
> BDRV_* flags and qemu_gluster_parse_flags() can be used to produce POSIX
> open(2) flags from them.
It is not currently used, I cached it for later use, but never used
it. I will purge it in a v2 (same thing with the sister variable in
the reopen state struct in patch 2).
next prev parent reply other threads:[~2014-02-14 14:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-04 19:26 [Qemu-devel] [PATCH 0/2] block: add support for gluster reopen Jeff Cody
2014-02-04 19:26 ` [Qemu-devel] [PATCH 1/2] block: gluster - code movements, state storage changes Jeff Cody
2014-02-05 19:25 ` Benoît Canet
2014-02-07 3:44 ` Bharata B Rao
2014-02-07 14:22 ` Benoît Canet
2014-02-07 15:27 ` Bharata B Rao
2014-02-07 15:57 ` Jeff Cody
2014-02-10 17:49 ` Benoît Canet
2014-02-07 15:59 ` Benoît Canet
2014-02-14 14:12 ` Stefan Hajnoczi
2014-02-14 14:44 ` Jeff Cody [this message]
2014-02-14 14:21 ` Stefan Hajnoczi
2014-02-14 14:41 ` Jeff Cody
2014-02-14 15:38 ` Stefan Hajnoczi
2014-02-14 16:20 ` Jeff Cody
2014-02-14 16:28 ` Kevin Wolf
2014-02-04 19:26 ` [Qemu-devel] [PATCH 2/2] block: gluster - add reopen support Jeff Cody
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140214144430.GA17514@localhost.localdomain \
--to=jcody@redhat.com \
--cc=bharata@linux.vnet.ibm.com \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.