Project

General

Profile

Actions

Feature #65624

open

[pybind] expose CLONE_FORMAT and FLATTEN image options

Added by Ilya Dryomov 12 days ago. Updated 3 days ago.

Status:
Fix Under Review
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
quincy,reef,squid
Reviewed:
Affected Versions:
Pull request ID:

Description

C/C++ API:

/* image options */
enum {
  RBD_IMAGE_OPTION_FORMAT = 0,
  RBD_IMAGE_OPTION_FEATURES = 1,
  RBD_IMAGE_OPTION_ORDER = 2,
  RBD_IMAGE_OPTION_STRIPE_UNIT = 3,
  RBD_IMAGE_OPTION_STRIPE_COUNT = 4,
  RBD_IMAGE_OPTION_JOURNAL_ORDER = 5,
  RBD_IMAGE_OPTION_JOURNAL_SPLAY_WIDTH = 6,
  RBD_IMAGE_OPTION_JOURNAL_POOL = 7,
  RBD_IMAGE_OPTION_FEATURES_SET = 8,
  RBD_IMAGE_OPTION_FEATURES_CLEAR = 9,
  RBD_IMAGE_OPTION_DATA_POOL = 10,
  RBD_IMAGE_OPTION_FLATTEN = 11,
  RBD_IMAGE_OPTION_CLONE_FORMAT = 12,
  RBD_IMAGE_OPTION_MIRROR_IMAGE_MODE = 13,
};

Python API:

        _RBD_IMAGE_OPTION_FORMAT "RBD_IMAGE_OPTION_FORMAT" 
        _RBD_IMAGE_OPTION_FEATURES "RBD_IMAGE_OPTION_FEATURES" 
        _RBD_IMAGE_OPTION_ORDER "RBD_IMAGE_OPTION_ORDER" 
        _RBD_IMAGE_OPTION_STRIPE_UNIT "RBD_IMAGE_OPTION_STRIPE_UNIT" 
        _RBD_IMAGE_OPTION_STRIPE_COUNT "RBD_IMAGE_OPTION_STRIPE_COUNT" 
        _RBD_IMAGE_OPTION_DATA_POOL "RBD_IMAGE_OPTION_DATA_POOL" 

Related issues 2 (2 open0 closed)

Related to rbd - Bug #65743: migration of a clone with --flatten doesn't fully detach from the parentNew

Actions
Related to rbd - Bug #65744: FORMAT and CLONE_FORMAT image options accept bogus valuesNew

Actions
Actions #1

Updated by Ilya Dryomov 4 days ago

  • Subject changed from [pybind] CLONE_FORMAT and some other image options are not exposed to [pybind] CLONE_FORMAT and FLATTEN image options aren't exposed
  • Status changed from New to In Progress
  • Assignee set to Ilya Dryomov
  • Priority changed from Normal to High

Limiting the scope of this tracker to options related to cloning.

Actions #2

Updated by Ilya Dryomov 3 days ago

  • Tracker changed from Bug to Feature
  • Status changed from In Progress to Fix Under Review
  • Backport set to quincy,reef,squid
  • Regression deleted (No)
  • Severity deleted (3 - minor)
  • Pull request ID set to 57212
Actions #3

Updated by Ilya Dryomov 3 days ago

  • Subject changed from [pybind] CLONE_FORMAT and FLATTEN image options aren't exposed to [pybind] expose CLONE_FORMAT and FLATTEN image options
Actions #4

Updated by Ilya Dryomov 3 days ago

Actions #5

Updated by Ilya Dryomov 3 days ago

  • Related to Bug #65743: migration of a clone with --flatten doesn't fully detach from the parent added
  • Related to Bug #65744: FORMAT and CLONE_FORMAT image options accept bogus values added
Actions

Also available in: Atom PDF