Project

General

Profile

Feature #12112

rbd: add --object-size option

Added by Josh Durgin almost 6 years ago. Updated over 5 years ago.

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

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Object size can be specified when creating an image with the --order option, as a number of bits in the size.
An option to specify it directly (i.e. --object-size 2M) would be easier to use.

Add this option, and keep the old one for backwards compatibility. For simplicity, round up the object size to the nearest power of 2.

Associated revisions

Revision 71690e70 (diff)
Added by Vikhyat Umrao over 5 years ago

rbd: add --object-size option

Object size can be specified when creating an image with the --order option,
as a number of bits in the size.

This patch is adding new option --object-size. This new option will specify
object size directly for example --object-size 2M.

It would be easier to use. --order is still present for backwards compatibility.
For simplicity, we are rounding up the object size to the nearest power of 2.

Fixes #12112

Signed-off-by: Vikhyat Umrao <>

History

#1 Updated by Vikhyat Umrao almost 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Vikhyat Umrao

#2 Updated by Vikhyat Umrao almost 6 years ago

  • Status changed from In Progress to Fix Under Review

#3 Updated by Josh Durgin almost 6 years ago

  • Target version set to v10.0.1

#4 Updated by Josh Durgin over 5 years ago

  • Status changed from Fix Under Review to Resolved
  • Target version changed from v10.0.1 to 10.0.2

Also available in: Atom PDF