Project

General

Profile

Actions

Bug #8187

closed

librbd: list_children() reports duplicates with cache pools

Added by Josh Durgin about 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

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

Description

list_children() and the internals of snap_unprotect() both go through all pools to check for children of a snapshot. Since cache pools contain the same objects, each child will be listed once for each cache pool and once for each base pool. These methods should only look at base pools. This doesn't affect the correctness of snap_unprotect(), it's just a cosmetic defect in list_children(). See also #8188.

Actions

Also available in: Atom PDF