Actions
Bug #12069
closedENOSPC hidden by cache not detected by callers of flatten
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.
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).
Updated by Jason Dillaman almost 9 years ago
- Status changed from New to In Progress
- Assignee set to Jason Dillaman
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.
Updated by Jason Dillaman almost 9 years ago
- Status changed from In Progress to Fix Under Review
Updated by Jason Dillaman almost 9 years ago
- Status changed from Fix Under Review to Resolved
Actions