Project

General

Profile

Actions

Bug #14118

closed

librbd: exit if parent's snap is gone

Added by xie xingguo over 8 years ago. Updated over 8 years ago.

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

0%

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

Description

In internal.cc

int clone(IoCtx& p_ioctx, const char *p_name, const char *p_snap_name,
IoCtx& c_ioctx, const char *c_name,
uint64_t features, int *c_order,
uint64_t stripe_unit, int stripe_count)

p_imctx->snap_lock.get_read();
p_features = p_imctx->features;
size = p_imctx->get_image_size(p_imctx->snap_id);
p_imctx->is_snap_protected(p_imctx->snap_id, &snap_protected);
p_imctx->snap_lock.put_read();

Shall check returned value of is_snap_protected() method

Actions #1

Updated by Nathan Cutler over 8 years ago

  • Project changed from Ceph to rbd
Actions #2

Updated by xie xingguo over 8 years ago

Actions #3

Updated by Nathan Cutler over 8 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF