Project

General

Profile

Feature #2717

cls_rbd: add methods for maintaining mapping from parent to child images

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

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

0%

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

Description

From http://ceph.com/docs/master/dev/rbd-layering/#cls-rbd:

add_child(uint64_t parent_pool_id, string parent_image_id,
          uint64_t parent_snap_id, string image_id);
remove_child(uint64_t parent_pool_id, string parent_image_id,
             uint64_t parent_snap_id, string image_id);
/**
 * List ids of a given parent
 */
get_children(uint64_t parent_pool_id, string parent_image_id,
             uint64_t parent_snap_id, uint64_t max_return,
             string start);
/**
 * list parents
 */
get_parents(uint64_t max_return, uint64_t start_pool_id,
            string start_image_id, string start_snap_id);


Related issues

Blocks rbd - Feature #2718: librbd: map parent -> child in a per-pool rbd_children object when cloning Resolved 07/05/2012
Blocks rbd - Feature #2719: librbd: provide functions for listing parents and their children Resolved 07/05/2012

History

#1 Updated by Sage Weil about 11 years ago

  • Target version deleted (v0.50)
  • translation missing: en.field_position set to 9

#2 Updated by Sage Weil about 11 years ago

  • Target version set to v0.50
  • translation missing: en.field_position deleted (9)
  • translation missing: en.field_position set to 1323

#3 Updated by Sage Weil about 11 years ago

  • translation missing: en.field_story_points set to 23
  • translation missing: en.field_position deleted (1323)
  • translation missing: en.field_position set to 1323

#4 Updated by Sage Weil about 11 years ago

  • translation missing: en.field_story_points changed from 23 to 3
  • translation missing: en.field_position deleted (1323)
  • translation missing: en.field_position set to 1323

#5 Updated by Sage Weil about 11 years ago

  • Target version deleted (v0.50)
  • translation missing: en.field_position deleted (1322)
  • translation missing: en.field_position set to 1

#6 Updated by Sage Weil about 11 years ago

  • translation missing: en.field_position deleted (6)
  • translation missing: en.field_position set to 2

#7 Updated by Anonymous about 11 years ago

  • translation missing: en.field_position deleted (8)
  • translation missing: en.field_position set to 6

#8 Updated by Anonymous about 11 years ago

  • translation missing: en.field_position deleted (6)
  • translation missing: en.field_position set to 1

#9 Updated by Anonymous about 11 years ago

  • Assignee set to Dan Mick

#10 Updated by Dan Mick about 11 years ago

  • Status changed from New to 12

#11 Updated by Anonymous about 11 years ago

  • Target version set to v0.51
  • translation missing: en.field_position deleted (9)
  • translation missing: en.field_position set to 8

#12 Updated by Josh Durgin about 11 years ago

  • Status changed from 12 to Fix Under Review

#13 Updated by Sage Weil about 11 years ago

  • Status changed from Fix Under Review to Resolved
  • translation missing: en.field_position deleted (20)
  • translation missing: en.field_position set to 20

Also available in: Atom PDF