Actions
Bug #5252
closedosd: EINVAL from truncate causes osd to crash
Status:
Resolved
Priority:
Urgent
Assignee:
David Zafman
Category:
OSD
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
If a rados client sends a truncate operation that exceeds the maximum file size, truncate/ftruncate(2) will return EINVAL. With truncate(2), EINVAL only comes from a too large length, so this error can be propagated back to the client. Discovered via #5233.
Updated by Ian Colle almost 11 years ago
- Assignee set to David Zafman
- Priority changed from Normal to High
Updated by Sage Weil almost 11 years ago
- Status changed from New to Resolved
Actions