Project

General

Profile

Actions

Feature #2609

closed

librbd: new image name -> image head indirection

Added by Sage Weil almost 12 years ago. Updated almost 12 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.

Actions

Also available in: Atom PDF