Project

General

Profile

Feature #2609

librbd: new image name -> image head indirection

Added by Sage Weil over 7 years ago. Updated over 7 years ago.

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

0%

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

Description

To prevent rename from disrupting clients with images open,

  • put header in rbd_head.$id
  • put $id in rbd_id.$name

On open, resolve the name -> id by looking at rbd_id.$name, and then open the $id.

Also, make it easy to open an image by id directly; this will be needed by the layering code.

History

#1 Updated by Sage Weil over 7 years ago

  • Description updated (diff)
  • Category set to librbd

#2 Updated by Sage Weil over 7 years ago

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

#3 Updated by Sage Weil over 7 years ago

  • Project changed from Ceph to rbd
  • Category deleted (librbd)

#4 Updated by Sage Weil over 7 years ago

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

#5 Updated by Sage Weil over 7 years ago

  • Status changed from New to Resolved
  • translation missing: en.field_position deleted (3)
  • translation missing: en.field_position set to 1

#6 Updated by Sage Weil over 7 years ago

  • Target version changed from v0.50 to v0.49
  • translation missing: en.field_position deleted (1)
  • translation missing: en.field_position set to 1
  • translation missing: en.field_position changed from 1 to 1332

#7 Updated by Sage Weil over 7 years ago

  • Target version changed from v0.49 to v0.50
  • translation missing: en.field_position deleted (1332)
  • translation missing: en.field_position set to 1

#8 Updated by Sage Weil over 7 years ago

  • Status changed from Resolved to In Progress
  • translation missing: en.field_position deleted (1)
  • translation missing: en.field_position set to 1

#9 Updated by Josh Durgin over 7 years ago

  • Status changed from In Progress to Resolved
  • Assignee set to Josh Durgin

Merged in commit:96ca508dcd227db11597cd4963208872af30fcc4

Also available in: Atom PDF