ovh / svfs

The Swift Virtual File System
Other
375 stars 54 forks source link

Xattr support on objects #103

Closed w3st3ry closed 7 years ago

w3st3ry commented 8 years ago

What I did

Now we can set extra attributes on files through svfs.

Signed-off-by: Valentin Pichard valentin.pichard@corp.ovh.com

xlucas commented 8 years ago

Could you also implement :

So it's possible to list and remove extended attributes ?

Another consideration to take into account is that extended attributes in general should not be used if the extra_attr option is not set. Instead fuse.ENOTSUP should be returned so the behaviour is alike SetAttr for normal attributes.

w3st3ry commented 7 years ago

@xlucas Done.

xlucas commented 7 years ago

Did some changes to fix header canonical prefix issues and differentiate the feature from extra_attr mount option.

That's merged. Thanks !