Actions
Bug #37278
closedfilefrag receives SIGFPE when run on any file on CephFS (kernel mount)
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
Such hilarious thing happens because fstat() on any file returns .st_dev=0. filefrag tracks that as uninitialized value in its internal logic crashes.
For example, /proc files give st_dev=makedev(0, 21), /sys files give st_dev=makedev(0, 20).
I think, CephFS should give st_dev=makedev(0, <something>).
(and also, it would be nice to support FIBMAP ioctls and so on, but this is a different task)
Actions