Actions
Feature #1008
closedfilestore: 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.
Actions