You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The paragraph is titled "Large Extended Attribute Values":
To enable ext4 to store extended attribute values that do not fit in the inode or in the single extended attribute block attached to an inode, the EA_INODE feature allows us to store the value in the data blocks of a regular file inode. This “EA inode” is linked only from the extended attribute name index and must not appear in a directory entry.
So I guess ext4 should be able to handle it?
My code works fine for writing shorter/less xattrs.
Does my blocksize matter? (512 bytes)
Is there any way to check what the limit is?
And which component in the stack actually decides this "out of diskspace" error?
Thank you very much in advance 😄
(PS: This was on Xubuntu 20.04.6 - python 3.8.10. Wasn't available in the dropdown)
CPython versions tested on:
3.8.10
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered:
Have you tried setting the xattr using the fsetfattr(1) command-line tool? If that results in the same error this is a limitation in linux or ext4.
My reading of https://man7.org/linux/man-pages/man5/ext4.5.html is that EA_INODE is enabled by a filesystem feature flag, the file system your testing on likely does not have the feature enabled. Tune2fs can enable this feature (according to its manage), but cannot disable it. I've no idea if enabling this feature can have side effects that cause problems in other software, so please test carefully before enabling on a filesystem with important data.
Bug report
Bug description:
When trying to copy all embedded metadata key/value information from the IPTC standard-reference image, I get the following error:
The total size of the exiftool-json is 15kB. More than 4k, but:
On kernel.org Wiki (ext4:xattrs), it says:
The paragraph is titled "Large Extended Attribute Values":
So I guess ext4 should be able to handle it?
My code works fine for writing shorter/less xattrs.
Does my blocksize matter? (512 bytes)
Is there any way to check what the limit is?
And which component in the stack actually decides this "out of diskspace" error?
Thank you very much in advance 😄
(PS: This was on Xubuntu 20.04.6 - python 3.8.10. Wasn't available in the dropdown)
CPython versions tested on:
3.8.10
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: