Project

General

Profile

Actions

Feature #5067

closed

librbd: configuration options to override default image creation parameters

Added by Josh Durgin almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

From http://permalink.gmane.org/gmane.comp.file-systems.ceph.devel/15064:

For example, there could be just:

rbd_create_default_format UINT default 1

or we could add other options to adjust the rest of the image creation
parameters i.e.:

rbd_create_default_object_order INT default 22

// these only apply to format 2
rbd_create_default_features UINT64 default 1 # 1 for layering, 3 for layering+stripingv2
rbd_create_default_stripe_count UINT64 default 1 # changing requires stripingv2 feature
rbd_create_default_stripe_unit UINT64 default 4194304 # changing to non-object size requires stripingv2 feature

For backwards compatibility, the default values preserve the existing
behavior of rbd_create(), but when you run qemu-img you could change
them to create format 2 images and potentially change the striping
as well. These options could be easily backported to cuttlefish
and bobtail.


Related issues 2 (0 open2 closed)

Has duplicate rbd - Feature #5135: librbd should create format 2 images by defaultDuplicate05/21/2013

Actions
Has duplicate rbd - Bug #4897: qemu rbd driver should allow manipulation of format 2, striped imagesDuplicate05/02/2013

Actions
Actions #1

Updated by Sage Weil almost 11 years ago

  • Target version set to v0.64
Actions #2

Updated by Sage Weil almost 11 years ago

  • Translation missing: en.field_story_points set to 2.00
Actions #3

Updated by Josh Durgin almost 11 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Sage Weil

wip-librbd-config-create

Actions #4

Updated by Sage Weil almost 11 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF