*** empty log message ***

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@618 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
sage 2006-02-12 05:40:22 +00:00
parent 039b656f9e
commit 15b247f2bc
2 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,7 @@ Mutex bufferlock;
FileLayout g_OSD_FileLayout( 1<<20, 1, 1<<20, 2 ); // stripe over 1M objects, 2x replication
FileLayout g_OSD_FileLayout( 1<<20, 1, 1<<20, 1 ); // stripe over 1M objects, 2x replication
//FileLayout g_OSD_FileLayout( 1<<17, 4, 1<<20 ); // 128k stripes over sets of 4
// ??
@ -117,6 +117,7 @@ md_config_t g_conf = {
osd_pg_bits: 6,
osd_object_layout_linear: false, // don't hash oids into pg's
osd_pg_layout_linear: false, // don't use CRUSH for pg layout
osd_pg_layout_hash: false, // don't use crash, use basic hash
osd_max_rep: 4,
osd_maxthreads: 2, // 0 == no threading
osd_mkfs: false,
@ -360,6 +361,8 @@ void parse_config_options(vector<char*>& args)
g_conf.osd_object_layout_linear = 1;
else if (strcmp(args[i], "--osd_pg_layout_linear") == 0)
g_conf.osd_pg_layout_linear = 1;
else if (strcmp(args[i], "--osd_pg_layout_linear") == 0)
g_conf.osd_pg_layout_hash = 1;
else {

View File

@ -88,6 +88,7 @@ struct md_config_t {
int osd_pg_bits;
bool osd_object_layout_linear;
bool osd_pg_layout_linear;
bool osd_pg_layout_hash;
int osd_max_rep;
int osd_maxthreads;
bool osd_mkfs;