Project

General

Profile

Actions

Bug #1740

closed

krbd: don't return head data when reading from a non-existent snapshot

Added by Josh Durgin over 12 years ago. Updated about 11 years ago.

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

0%

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

Description

If you have an rbd image mapped at a snapshot, and then delete the snapshot, any subsequent reads succeed and give you data from head.

Actions #1

Updated by Sage Weil over 12 years ago

Hmm, what should they return? -ENXIO or -EIO or something? What is the OSD returning in this case?

Actions #2

Updated by Josh Durgin over 12 years ago

The requests are made for the head version, since the removed snapid is not found when looking up the snapshot name in the rbd header.

Actions #3

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position set to 12
Actions #4

Updated by Sage Weil almost 12 years ago

  • Project changed from Linux kernel client to rbd
  • Category deleted (rbd)
Actions #5

Updated by Josh Durgin almost 12 years ago

  • Subject changed from rbd: don't return head data when reading from a non-existent snapshot to krbd: don't return head data when reading from a non-existent snapshot
Actions #6

Updated by Josh Durgin about 11 years ago

  • Status changed from New to Resolved

This was fixed a while ago.

Actions

Also available in: Atom PDF