From e72f3cec9adfe23ad26b53fcadc70d5d72251dbc Mon Sep 17 00:00:00 2001 From: sage Date: Fri, 16 Dec 2005 21:33:35 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@528 29311d96-e01e-0410-9327-a35deaab8ce9 --- ceph/config.cc | 5 +++-- ceph/config.h | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ceph/config.cc b/ceph/config.cc index 1bb2655bfcd59..52b759017c638 100644 --- a/ceph/config.cc +++ b/ceph/config.cc @@ -116,10 +116,11 @@ md_config_t g_conf = { osd_fakestore_syncthreads: 4, osd_ebofs: 0, - ebofs_bc_size: (50 *256), // measured in 4k blocks, or *256 for MB + ebofs_bc_size: (50 *256), // measured in 4k blocks, or *256 for MB + ebofs_bc_max_dirty: ebofs_bc_size*8/10, // before write() will wait for data to flush - // --- fakeclient (mds regression testing) --- + // --- fakeclient (mds regression testing) (ancient history) --- num_fakeclient: 100, fakeclient_requests: 100, fakeclient_deterministic: false, diff --git a/ceph/config.h b/ceph/config.h index 9f1b02c748ed5..1048e08338c4f 100644 --- a/ceph/config.h +++ b/ceph/config.h @@ -92,6 +92,7 @@ struct md_config_t { int osd_ebofs; off_t ebofs_bc_size; + off_t ebofs_bc_max_dirty; // fake client int num_fakeclient; -- 2.39.5