XFS parent pointers
XFS parent pointers
Posted May 8, 2018 22:27 UTC (Tue) by dgc (subscriber, #6611)In reply to: XFS parent pointers by nix
Parent article: XFS parent pointers
In most cases there will be no extra allocation - the xattr will easily fit inside the inode for typical single parent, short name files on a default 512 byte inode filesystem. It's not until you have multiple hard links or filenames > 100 bytes that the xattrs will tend to go out of line. Or you have lots of other xattrs, in which case they're at risk of being moved out of line, anyway. If you're really worried about xattrs being kept in line, then you can always format the filesystem with 1kB or 2kB inodes....
-Dave.
