Project

General

Profile

Actions

Feature #65624

closed
ID ID

[pybind] expose CLONE_FORMAT and FLATTEN image options

Feature #65624: [pybind] expose CLONE_FORMAT and FLATTEN image options

Added by Ilya Dryomov over 2 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
quincy,reef,squid
Reviewed:
Affected Versions:
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-1977-gbbc3230dd3
Released In:
v20.2.0~2970
Upkeep Timestamp:
2026-08-28T01:38:10+00:00

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 5 (0 open — 5 closed)

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

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

Actions
Copied to rbd - Backport #65814: squid: [pybind] expose CLONE_FORMAT and FLATTEN image optionsResolvedIlya Dryomov

Actions
Copied to rbd - Backport #65815: quincy: [pybind] expose CLONE_FORMAT and FLATTEN image optionsResolvedIlya Dryomov

Actions
Copied to rbd - Backport #65816: reef: [pybind] expose CLONE_FORMAT and FLATTEN image optionsResolvedIlya Dryomov

Actions

ID Updated by Ilya Dryomov over 2 years ago Actions #1

  • 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.

ID Updated by Ilya Dryomov over 2 years ago Actions #2

  • 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

ID Updated by Ilya Dryomov over 2 years ago Actions #3

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

ID Updated by Ilya Dryomov over 2 years ago Actions #5

  • 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

ID Updated by Ilya Dryomov over 2 years ago Actions #6

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot over 2 years ago Actions #7

  • Copied to Backport #65814: squid: [pybind] expose CLONE_FORMAT and FLATTEN image options added

UB Updated by Upkeep Bot over 2 years ago Actions #8

  • Copied to Backport #65815: quincy: [pybind] expose CLONE_FORMAT and FLATTEN image options added

UB Updated by Upkeep Bot over 2 years ago Actions #9

  • Copied to Backport #65816: reef: [pybind] expose CLONE_FORMAT and FLATTEN image options added

UB Updated by Upkeep Bot over 2 years ago Actions #11

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

UB Updated by Upkeep Bot over 2 years ago Actions #12

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot over 1 year ago Actions #13

  • Merge Commit set to bbc3230dd38dbe0ebab62c596365a1a9b048201c
  • Fixed In set to v19.3.0-1977-gbbc3230dd38
  • Upkeep Timestamp set to 2025-07-11T12:49:38+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #14

  • Fixed In changed from v19.3.0-1977-gbbc3230dd38 to v19.3.0-1977-gbbc3230dd3
  • Upkeep Timestamp changed from 2025-07-11T12:49:38+00:00 to 2025-07-14T23:09:23+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #15

  • Released In set to v20.2.0~2970
  • Upkeep Timestamp changed from 2025-07-14T23:09:23+00:00 to 2025-11-01T01:33:46+00:00

UB Updated by Upkeep Bot 3 months ago Actions #16

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T01:33:46+00:00 to 2026-08-28T01:38:10+00:00
Actions

Also available in: PDF Atom