Feature #1008
filestore: handle long object names
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
extN and btrfs both limit filenames to 255 characters, but we want to store object names that are much longer than that. Plus we add _<snapid> to the end of our object names.
Introduce some additional naming rules in os/FileStore so that long names are translated into something shorter (sha hash of long name?) with the full name stored as an xattr. This should be completely hidden behind the FileStore/ObjectStore interface, which means things like readdir and {get,list}xattr need extra smarts.
Related issues
History
#1 Updated by Sage Weil almost 13 years ago
- translation missing: en.field_position set to 1
#2 Updated by Greg Farnum almost 13 years ago
- Assignee set to Yehuda Sadeh
#3 Updated by Yehuda Sadeh almost 13 years ago
- Status changed from New to Resolved
Done, merged at c9712e4ffcaf91e212f73bc95c1f18e062dd0f22.