[LTP] [PATCH] syscalls/statx01: loosen the stx_blocks check

Steve Muckle smuckle@google.com
Fri Jul 26 01:55:26 CEST 2019


On 7/25/19 5:48 AM, Cyril Hrubis wrote:
>> Perhaps the x-attributes are spilling out of the inode in some cases and
>> into a data block? I don't know enough about filesystems to say.
> 
> That may be, you can try to list these with getfattr.

This turned out to be because of ext4 per-file encryption which adds 
another x-attr, possibly causing the allocation of another block for 
xattrs. This wasn't apparent initially because the encryption xattr is 
hidden and not reported by getfattr.

I'll send out an updated patch.


More information about the ltp mailing list