consequences of XFS_IOC_FSSETXATTR on non-empty file?

Samuel Just sam.just at inktank.com
Sat Jul 12 20:16:54 CDT 2014


Hi,

We are seeing reports of ceph-osd stores on xfs of files with some
garbage data (possibly misplaced from data elsewhere in the
filesystem).  There was a bug for a while where the ceph-osd process
would set a value for fsx_extsize on a non-empty (possibly sparse)
file using XFS_IOC_FSSETXATTR.  Could that plausibly result in a file
with garbage data?  Let me know if there is any additional information
or detail which might be valuable.  One report was on kernel versions
3.14.3 and 3.14.4.
-Sam



More information about the xfs mailing list