From: Kevin Wolf <kwolf@redhat.com>
To: Connor Kuehl <ckuehl@redhat.com>
Cc: berrange@redhat.com, qemu-block@nongnu.org,
Peter Lieven <pl@kamp.de>,
qemu-devel@nongnu.org, ct@flyingcircus.io, mreitz@redhat.com,
pbonzini@redhat.com, idryomov@gmail.com, idryomov@redhat.com,
dillaman@redhat.com
Subject: Re: [PATCH] block/rbd: fix type of task->complete
Date: Thu, 8 Jul 2021 12:00:30 +0200 [thread overview]
Message-ID: <YObMvks6ZY6SwYLf@redhat.com> (raw)
In-Reply-To: <97a6ebe5-5009-9ba0-5824-348ec9bcfc98@redhat.com>
Am 07.07.2021 um 23:51 hat Connor Kuehl geschrieben:
> On 7/7/21 11:04 AM, Peter Lieven wrote:
> > task->complete is a bool not an integer.
> >
> > Signed-off-by: Peter Lieven <pl@kamp.de>
> > ---
> > block/rbd.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/block/rbd.c b/block/rbd.c
> > index 01a7b94d62..dcf82b15b8 100644
> > --- a/block/rbd.c
> > +++ b/block/rbd.c
> > @@ -1066,7 +1066,7 @@ static int qemu_rbd_resize(BlockDriverState *bs, uint64_t size)
> > static void qemu_rbd_finish_bh(void *opaque)
> > {
> > RBDTask *task = opaque;
> > - task->complete = 1;
> > + task->complete = true;
> > aio_co_wake(task->co);
> > }
> >
> >
>
> Hi Peter,
>
> What tree/QEMU git sha does this apply to? I am having trouble
> finding definitions for RBDTask and qemu_rbd_finish_bh; and the
> patch won't apply to my few-minutes-old clone of upstream.
It is on top of:
[PATCH v5 0/6] block/rbd: migrate to coroutines and add write zeroes support
Message-Id: <20210702172356.11574-1-idryomov@gmail.com>
Also, thanks, applied to the block branch.
Kevin
next prev parent reply other threads:[~2021-07-08 10:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-07 18:04 [PATCH] block/rbd: fix type of task->complete Peter Lieven
2021-07-07 18:04 ` [PATCH] MAINTAINERS: update block/rbd.c maintainer Peter Lieven
2021-07-08 10:44 ` Ilya Dryomov
2021-07-08 12:06 ` Kevin Wolf
2021-07-07 21:51 ` [PATCH] block/rbd: fix type of task->complete Connor Kuehl
2021-07-08 10:00 ` Kevin Wolf [this message]
2021-07-08 10:41 ` Ilya Dryomov
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=YObMvks6ZY6SwYLf@redhat.com \
--to=kwolf@redhat.com \
--cc=berrange@redhat.com \
--cc=ckuehl@redhat.com \
--cc=ct@flyingcircus.io \
--cc=dillaman@redhat.com \
--cc=idryomov@gmail.com \
--cc=idryomov@redhat.com \
--cc=mreitz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=pl@kamp.de \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/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.