From: Jason Dillaman <jdillama@redhat.com>
To: Stefano Garzarella <sgarzare@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>, qemu-block <qemu-block@nongnu.org>,
qemu-devel <qemu-devel@nongnu.org>, Max Reitz <mreitz@redhat.com>,
Florian Florensa <fflorensa@online.net>,
Jason Dillaman <dillaman@redhat.com>
Subject: Re: [PATCH] block/rbd: add 'namespace' to qemu_rbd_strong_runtime_opts[]
Date: Mon, 14 Sep 2020 15:15:01 -0400 [thread overview]
Message-ID: <CA+aFP1CZ5oPnt1bO4746WNdY3Xsps4_KMTeDvP0YabU86PS8fg@mail.gmail.com> (raw)
In-Reply-To: <20200914190553.74871-1-sgarzare@redhat.com>
On Mon, Sep 14, 2020 at 3:06 PM Stefano Garzarella <sgarzare@redhat.com> wrote:
>
> Commit 19ae9ae014 ("block/rbd: Add support for ceph namespaces")
> introduced namespace support for RBD, but we forgot to add the
> new 'namespace' options to qemu_rbd_strong_runtime_opts[].
>
> The 'namespace' is used to identify the image, so it is a strong
> option since it can changes the data of a BDS.
>
> Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1821528
> Fixes: 19ae9ae014 ("block/rbd: Add support for ceph namespaces")
> Cc: Florian Florensa <fflorensa@online.net>
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
> ---
> block/rbd.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/block/rbd.c b/block/rbd.c
> index 688074c64b..5356753fbe 100644
> --- a/block/rbd.c
> +++ b/block/rbd.c
> @@ -1289,6 +1289,7 @@ static QemuOptsList qemu_rbd_create_opts = {
>
> static const char *const qemu_rbd_strong_runtime_opts[] = {
> "pool",
> + "namespace",
> "image",
> "conf",
> "snapshot",
> --
> 2.26.2
>
lgtm
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
--
Jason
next prev parent reply other threads:[~2020-09-14 19:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-14 19:05 [PATCH] block/rbd: add 'namespace' to qemu_rbd_strong_runtime_opts[] Stefano Garzarella
2020-09-14 19:15 ` Jason Dillaman [this message]
2020-09-15 9:04 ` Max Reitz
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=CA+aFP1CZ5oPnt1bO4746WNdY3Xsps4_KMTeDvP0YabU86PS8fg@mail.gmail.com \
--to=jdillama@redhat.com \
--cc=dillaman@redhat.com \
--cc=fflorensa@online.net \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=sgarzare@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).