Project

General

Profile

Actions

Feature #1772

closed

rbd: define new on-disk header format

Added by Josh Durgin over 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

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

Description

This should include several new things:

  • CompatSet
  • read-only flag
  • parent_{pool, image_id, snap_id}
  • list<snap_infos>
  • list<child image_id>

This format will be internal to the rbd class in the osd.


Related issues 1 (0 open1 closed)

Blocks Ceph - Feature #988: librbd: trivial layeringDuplicateJosh Durgin04/05/2011

Actions
Actions #1

Updated by Sage Weil over 12 years ago

  • Target version set to v0.40
Actions #2

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position set to 5
Actions #3

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (6)
  • Translation missing: en.field_position set to 56
Actions #4

Updated by Sage Weil over 12 years ago

  • Target version deleted (v0.40)
  • Translation missing: en.field_position deleted (59)
  • Translation missing: en.field_position set to 1
Actions #5

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position deleted (61)
  • Translation missing: en.field_position set to 7
Actions #6

Updated by Josh Durgin about 12 years ago

To get around the issue of a child image needing to update the parent image's header, Sage suggested only allowing access to class methods that add/remove the child from the parent image's child list, and using uuids to make the entries in the list of children hard to guess.

Actions #7

Updated by Anonymous about 12 years ago

Being a little bit more explicit: the point of the UUIDs is to allow child images to add themselves to the parent's list of children (but do no other write operations), and remove themselves from the list, but not remove other entries belonging to other children (because attackers can't easily guess the UUID of other children, and cannot list them).

Actions #8

Updated by Anonymous about 12 years ago

The other point that came up was, if rbd can't delete the parent volume until all children have been deleted, the glance backend for rbd needs to handle this somehow.

Actions #9

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position deleted (49)
  • Translation missing: en.field_position set to 3
Actions #10

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position deleted (6)
  • Translation missing: en.field_position set to 1
Actions #11

Updated by Sage Weil about 12 years ago

  • Target version set to v0.47
  • Translation missing: en.field_position deleted (1)
  • Translation missing: en.field_position set to 2
Actions #12

Updated by Sage Weil about 12 years ago

  • Target version changed from v0.47 to v0.48
  • Translation missing: en.field_position deleted (18)
  • Translation missing: en.field_position set to 3
Actions #13

Updated by Sage Weil about 12 years ago

  • Target version deleted (v0.48)
Actions #14

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position deleted (7)
  • Translation missing: en.field_position set to 5
Actions #15

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position deleted (5)
  • Translation missing: en.field_position set to 6
Actions #16

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position deleted (7)
  • Translation missing: en.field_position set to 9
Actions #17

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position deleted (24)
  • Translation missing: en.field_position set to 32
Actions #18

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position deleted (32)
  • Translation missing: en.field_position set to 23
Actions #19

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_position deleted (62)
  • Translation missing: en.field_position set to 7
Actions #20

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_position deleted (12)
  • Translation missing: en.field_position set to 9
Actions #21

Updated by Sage Weil almost 12 years ago

  • Status changed from New to 12
  • Translation missing: en.field_position deleted (9)
  • Translation missing: en.field_position set to 9
Actions #22

Updated by Sage Weil almost 12 years ago

  • Status changed from 12 to In Progress
  • Translation missing: en.field_position deleted (10)
  • Translation missing: en.field_position set to 10
Actions #23

Updated by Sage Weil almost 12 years ago

  • Status changed from In Progress to Resolved
  • Translation missing: en.field_position deleted (12)
  • Translation missing: en.field_position set to 12
Actions #24

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_position deleted (12)
  • Translation missing: en.field_position set to 12
Actions

Also available in: Atom PDF