Project

General

Profile

Actions

Bug #5252

closed

osd: EINVAL from truncate causes osd to crash

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

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.

Actions #1

Updated by Ian Colle almost 11 years ago

  • Assignee set to David Zafman
  • Priority changed from Normal to High
Actions #2

Updated by Ian Colle almost 11 years ago

  • Priority changed from High to Urgent
Actions #3

Updated by Sage Weil almost 11 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF