-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rgw: file setattr #8618
rgw: file setattr #8618
Conversation
@liewegas I'm updating this now, need to use a different path to update attrs |
@@ -375,6 +375,7 @@ namespace librados | |||
void zero(uint64_t off, uint64_t len); | |||
void rmxattr(const char *name); | |||
void setxattr(const char *name, const bufferlist& bl); | |||
void setxattr(const char *name, const buffer::list&& bl); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick, formatting ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still not fixed ...
c29fcc4
to
4de3be9
Compare
@oritwas I think this version should be ready to merge, can you revisit it? I have not replaced the quoted '/' and "/" with a constant in this change to avoid churn, I'll be happy to send a separate change to improve that. |
4de3be9
to
f7ca7c8
Compare
Introduce a new RGWSetattrs RGWOp descendant, to create or replace sets of attrs on buckets or objects. This version of the change uses the standard RGWRADOS::set_attrs op (we want attribute changes to (e.g.) sync with other changes). Previous versions of this changed incorrectly masked the values of st->st_ino in RGWFileHandle::stat(), now fixed. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
f7ca7c8
to
4de1c3c
Compare
Posted for review only. The first 20 commits are already in a PR. The top commit "works" but may not replicate, among other potential problems.