rgw/rgw_fs.cc \
rgw/rgw_rados.cc \
rgw/rgw_tools.cc \
- rgw/rgw_bucket.cc \
rgw/rgw_user.cc \
rgw/rgw_access.cc \
rgw/rgw_op.cc \
rgw/rgw_rest_swift.h\
rgw/rgw_rest_s3.h\
rgw/rgw_tools.h\
- rgw/rgw_bucket.h\
rgw/rgw_user.h\
sample.ceph.conf\
tools/common.h\
#include "common/armor.h"
#include "rgw_user.h"
-#include "rgw_bucket.h"
#include "rgw_access.h"
#include "rgw_acl.h"
#include "rgw_log.h"
+++ /dev/null
-#include <errno.h>
-
-#include <string>
-
-#include "common/errno.h"
-#include "rgw_access.h"
-
-#include "rgw_bucket.h"
-#include "rgw_tools.h"
-
-static rgw_bucket pi_buckets(BUCKETS_POOL_NAME);
-
-static string pool_name_prefix = "p";
+++ /dev/null
-#ifndef CEPH_RGW_BUCKET_H
-#define CEPH_RGW_BUCKET_H
-
-#include <string>
-
-#include "include/types.h"
-#include "rgw_common.h"
-
-#define BUCKETS_POOL_NAME ".rgw"
-
-extern int rgw_get_bucket_info_id(uint64_t bucket_id, RGWBucketInfo& info);
-extern int rgw_get_bucket_info(string& bucket_name, RGWBucketInfo& info);
-extern int rgw_store_bucket_info(RGWBucketInfo& info);
-extern int rgw_create_bucket(std::string& id, string& bucket_name, rgw_bucket& bucket,
- map<std::string, bufferlist>& attrs, bool exclusive = true, uint64_t auid = 0);
-
-
-#endif
-
-
#include "rgw_log.h"
#include "rgw_acl.h"
#include "rgw_access.h"
-#include "rgw_bucket.h"
static rgw_bucket log_bucket(RGW_LOG_POOL_NAME);
#include "rgw_rest.h"
#include "rgw_swift.h"
#include "rgw_log.h"
-#include "rgw_bucket.h"
#include <map>
#include <string>
#include "rgw_rest.h"
#include "rgw_acl.h"
#include "rgw_user.h"
-#include "rgw_bucket.h"
#include "rgw_log.h"
#include "rgw_multi.h"
static string shadow_ns = "shadow";
static string bucket_marker_ver_oid = ".rgw.bucket-marker-ver";
static string dir_oid_prefix = ".dir.";
-static string default_storage_pool(DEFAULT_BUCKET_STORE_POOL);
+static string default_storage_pool = ".rgw.buckets";
static string avail_pools = ".pools.avail";
-#include "rgw/rgw_bucket.h"
-static rgw_bucket pi_buckets_rados(BUCKETS_POOL_NAME);
+static rgw_bucket pi_buckets_rados = RGW_ROOT_BUCKET;
static RGWObjCategory shadow_category = RGW_OBJ_CATEGORY_SHADOW;
class SafeTimer;
class ACLOwner;
-#define DEFAULT_BUCKET_STORE_POOL ".rgw.buckets"
-
struct RGWObjState {
bool is_atomic;
bool has_attrs;
#include "rgw_common.h"
#include "rgw_access.h"
#include "rgw_tools.h"
-#include "rgw_bucket.h"
#define READ_CHUNK_LEN (16 * 1024)
#include "include/types.h"
#include "rgw_user.h"
-#include "rgw_bucket.h"
using namespace std;