Opened 11 years ago

Closed 6 years ago

Last modified 5 years ago

#9940 closed enhancement (fixed)

Merge configure --use-xattr and --use-xattr-ref functionality

Reported by: bonefish Owned by: bonefish
Priority: normal Milestone: R1/beta2
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

When xattr support is available, the attribute emulation should behave like the current --use-xattr, i.e. store the attributes in untyped attributes. Only when for a file the attribute size limit is hit, the emulation should -- for that file only -- fall back to the --use-xattr-ref behavior, i.e. tag the file with a unique ID and store the attributes in separate files. A similar fallback mechanism could be used for symlinks, for which non-super-users cannot write attributes on Linux.

The proposed algorithm should help to reduce the number of attribute files needed (and thus potentially leaked) significantly, since there shouldn't be that many files for which we actually encounter the common attribute size limit.

Change History (4)

comment:1 by bonefish, 10 years ago

Type: bugenhancement

comment:2 by waddlesplash, 7 years ago

Milestone: R1Unscheduled

Unfortunately on most Linux filesystems the limit seems to be around 4KB or so per file (Linux has a hard limit of 64KB per attribute atm) and we seem to use an average of 5-6KB per file. Following my revamp to enable use-xattr or use-xattr-ref, I wonder if this can just be closed?

comment:3 by waddlesplash, 6 years ago

Resolution: fixed
Status: newclosed

comment:4 by nielx, 5 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.