Actions
Bug #2687
closedFileStore crashes when "osd_journal_size" is larger than the filesystem
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
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
See: http://permalink.gmane.org/gmane.comp.file-systems.ceph.devel/7282
If a user (on tmpfs, in this case) specifies a journal size which is larger than the available space, the OSD will crash when it runs out of space.
There are checks in the FileJournal to detect if the block device is smaller than the set journal size (and bail out), but I don't see any for files. We should add them.
Actions