News for hackers. Stuff that matters.
Re:ZFS for Dummies by DHowett on Tuesday September 05, 2023 @10:21AM (#37392033)
Looking over the landed patch (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...), I cannot find a hardcoded list of user.* xattrs that will be accepted.

It looks like it will store as many xattrs as there is space for, based on their contents.

Re:ZFS for Dummies by adrian_b on Wednesday September 06, 2023 @01:57AM (#37401754)
That would be nice, but then the "a limited number" expression does not make much sense.

All the file systems that support extended file attributes have some limit for the size of the attributes attached to a file, for instance of 64 kB.

After searching through the patch, it seems that the maximum number of xattrs is 128. There is also a size limit of 128 kB, which might be the limit for the sum of the sizes of all attributes.

If that is the only reason for saying "a limited number", then this is very good, the limits are high enough to not cause any problems in most applications, so tmpfs will finally no longer strip the attributes of the files copied through it.