Project

General

Profile

Actions

Bug #4868

closed

rbd: kill off the snapshot list

Added by Alex Elder about 11 years ago. Updated almost 11 years ago.

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

100%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We no longer use the snapshot list for anything. When we need to
look up a snapshot name, id, size, or feature mask, we just do it
directly rather than relying on this list being updated with every
refresh. The main reason it existed was for the benefit of the
device/sysfs entries that previously were associated with snapshots.

So get rid of the snapshot list, and the hundreds of lines of code
that supported it.

Signed-off-by: Alex Elder <>


Subtasks 1 (0 open1 closed)

Bug #4880: krbd: clear EXISTS flag if mapped snapshot disappearsResolvedAlex Elder05/01/2013

Actions
Actions

Also available in: Atom PDF