Skip to content

Support extended attributes larger than one block #3

Description

@rayhanadev

xattr values are capped at a single filesystem block (~4 KiB). Where this actually bites is Finder: copy a file with a large resource fork (or certain com.apple.* attributes) and those attributes error out while the file data copies fine — a "mostly worked" copy, which is the worst kind of confusing.

ext4 stores oversized xattrs in a separate inode (the ea_inode feature) rather than inline or in the single xattr block. lwext4's xattr code (ext4_xattr.c) doesn't implement ea_inode, so we inherit the one-block ceiling. Fixing it is an lwext4-level feature (read + write of ea_inode), so it's a chunk of work — lower priority than the perf items, but worth tracking because the failure mode is so opaque.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions