* how to test hammer rbd objectmap feature ?
@ 2015-04-14 7:48 Alexandre DERUMIER
2015-04-14 23:12 ` Josh Durgin
0 siblings, 1 reply; 3+ messages in thread
From: Alexandre DERUMIER @ 2015-04-14 7:48 UTC (permalink / raw)
To: ceph-devel
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 ?
Do this patch allow to change features on the fly ?
If yes, is it planned to backport it to hammer soon ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to test hammer rbd objectmap feature ?
2015-04-14 7:48 how to test hammer rbd objectmap feature ? Alexandre DERUMIER
@ 2015-04-14 23:12 ` Josh Durgin
2015-04-15 6:18 ` Alexandre DERUMIER
0 siblings, 1 reply; 3+ messages in thread
From: Josh Durgin @ 2015-04-14 23:12 UTC (permalink / raw)
To: Alexandre DERUMIER, ceph-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to test hammer rbd objectmap feature ?
2015-04-14 23:12 ` Josh Durgin
@ 2015-04-15 6:18 ` Alexandre DERUMIER
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre DERUMIER @ 2015-04-15 6:18 UTC (permalink / raw)
To: Josh Durgin; +Cc: ceph-devel
>>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.
Ok, thanks Josh !
(I'm planning to implement this feature in proxmox when it'll be released).
----- Mail original -----
De: "Josh Durgin" <jdurgin@redhat.com>
À: "aderumier" <aderumier@odiso.com>, "ceph-devel" <ceph-devel@vger.kernel.org>
Envoyé: Mercredi 15 Avril 2015 01:12:38
Objet: Re: how to test hammer rbd objectmap feature ?
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
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-04-15 6:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-14 7:48 how to test hammer rbd objectmap feature ? Alexandre DERUMIER
2015-04-14 23:12 ` Josh Durgin
2015-04-15 6:18 ` Alexandre DERUMIER
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.