Project

General

Profile

Actions

Bug #12069

closed

ENOSPC hidden by cache not detected by callers of flatten

Added by Josh Durgin almost 9 years ago. Updated almost 9 years ago.

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

0%

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

Description

Related to #12018, 'rbd flatten' doesn't detect the error flushing the cache, since it is implicit in closing the image. rbd_close() is void, so it cannot detect the error with the existing function.

We may need to add a rbd_close2() that has a return value.


Related issues 1 (0 open1 closed)

Related to rbd - Bug #12018: rbd and pool quota do not go well togetherResolvedXinxin Shu06/15/2015

Actions
Actions #1

Updated by Josh Durgin almost 9 years ago

Once #12018 is fixed this will block, but we should be able to detect other errors that arise due to bugs (generally no errors should propagate to this layer).

Actions #2

Updated by Josh Durgin almost 9 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Jason Dillaman almost 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman
Actions #4

Updated by Jason Dillaman almost 9 years ago

rbd_close returns a status that is hard-coded to 0. Will add an optional close method to librbd::Image.

Actions #5

Updated by Jason Dillaman almost 9 years ago

  • Status changed from In Progress to Fix Under Review
Actions #6

Updated by Jason Dillaman almost 9 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF