]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: implement rgw_setattr 8618/head
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 14 Apr 2016 23:18:37 +0000 (19:18 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 14 Jul 2016 12:33:11 +0000 (08:33 -0400)
commit4de1c3c260265f821ebee842d49cb35bf49d8e4e
tree2c0dff1a4462621cc063a2ae52b8e4f28f10d8f9
parentbe4ec38d75183a3869de8dec7ff7f53aeb5b4ef2
rgw_file: implement rgw_setattr

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>
src/cls/rgw/cls_rgw_ops.h
src/include/rados/librados.hpp
src/librados/librados.cc
src/rgw/rgw_common.h
src/rgw/rgw_file.cc
src/rgw/rgw_file.h
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/test/librgw_file_nfsns.cc