]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't modify rgw_bucket for data extra pool
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 11 Mar 2014 22:05:07 +0000 (15:05 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 24 Mar 2014 21:59:13 +0000 (14:59 -0700)
commit14b743ba6f7959dadb59b384d1ff28aa2f252276
treeeffbfb11eedcde42d0cb5a75d102d1798771c42e
parent7989cbd418ed8d51348851a39ffa84ac2224f4fe
rgw: don't modify rgw_bucket for data extra pool

This cleans up the interface, as we don't have this ugly implicit
structure modification when we deal with object that resides on the data
extra pool. Replcae lot's of calls to get_obj_bucket_and_oid_key() to a
cleaner get_obj_ref() that uses a struct to hold the updated fields, and
update the relevant callers.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h