]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: add encode/decode hooks, emplace_attr
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 11 Apr 2016 21:49:14 +0000 (17:49 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 12 Apr 2016 20:10:52 +0000 (16:10 -0400)
commit34ba7c02adc6870d0f0743b10a8799c52839acdf
tree726d51bc09ec77af07d07309b4f6ede6a7f143cd
parent2dbefba0d8460175b018bcdd0149b31d09059bc4
rgw_file: add encode/decode hooks, emplace_attr

This change implements attr encode/decode glue for RGWGetObj and
RGWPutObj.  Both now have attr maps as member variables.

To save copies, callers producing attrs can use emplace_attr to
move attrs into the map.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.cc
src/rgw/rgw_file.h
src/rgw/rgw_op.cc
src/rgw/rgw_op.h