mirror of
https://github.com/ceph/ceph
synced 2025-01-31 07:22:56 +00:00
*** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@618 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
039b656f9e
commit
15b247f2bc
@ -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 {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user