All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josh Durgin <jdurgin@redhat.com>
To: Alexandre DERUMIER <aderumier@odiso.com>,
	ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: how to test hammer rbd objectmap feature ?
Date: Tue, 14 Apr 2015 16:12:38 -0700	[thread overview]
Message-ID: <552D9EE6.2080003@redhat.com> (raw)
In-Reply-To: <2146461277.257952132.1428997703232.JavaMail.zimbra@oxygem.tv>

On 04/14/2015 12:48 AM, Alexandre DERUMIER wrote:
> Hi,
>
> I would like to known how to enable object map on hammer ?
>
> I found a post hammer commit here:
>
> https://github.com/ceph/ceph/commit/3a7b28d9a2de365d515ea1380ee9e4f867504e10
> "rbd: add feature enable/disable support"
>
> -   Specifies which RBD format 2 features are to be enabled when creating
> -   an image. The numbers from the desired features below should be added
> -   to compute the parameter value:
> +   Specifies which RBD format 2 feature should be enabled when creating
> +   an image. Multiple features can be enabled by repeating this option
> +   multiple times. The following features are supported:
>
> -.. option:: --image-features features
> +.. option:: --image-feature feature
>
> -   +1: layering support
> -   +2: striping v2 support
> -   +4: exclusive locking support
> -   +8: object map support
> +   layering: layering support
> +   striping: striping v2 support
> +   exclusive-lock: exclusive locking support
> +   object-map: object map support (requires exclusive-lock)
>
>
> So, in current hammer release, we can only setup objectmap and other features on rbd volume creation ?

Yes, that's right.

> Do this patch allow to change features on the fly ?

Yup, just for exclusive-lock and object map (since they don't
affect object layout).

> If yes, is it planned to backport it to hammer soon ?

Yeah, once we're confident in it in master. The idea behind this
feature was to allow using object maps with existing images. There
just wasn't time to include it in the base hammer release.

Josh

  reply	other threads:[~2015-04-14 23:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-14  7:48 how to test hammer rbd objectmap feature ? Alexandre DERUMIER
2015-04-14 23:12 ` Josh Durgin [this message]
2015-04-15  6:18   ` Alexandre DERUMIER

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=552D9EE6.2080003@redhat.com \
    --to=jdurgin@redhat.com \
    --cc=aderumier@odiso.com \
    --cc=ceph-devel@vger.kernel.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.