From 5f397ce668ab3d579fc69ee211c4a4a4f04fafcc Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 6 Mar 2009 11:31:12 -0800 Subject: [PATCH] filestore: lower min_sync_interval We mainly need something non-zero here to ensure we batch some requests up when we get a stream of requests with 'startsync'. --- src/config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.cc b/src/config.cc index 26d38e52fb10f..10ab2898ab0ed 100644 --- a/src/config.cc +++ b/src/config.cc @@ -529,7 +529,7 @@ static struct config_option config_optionsp[] = { OPTION(osd, osd_auto_weight, 0, BOOL, false), OPTION(filestore, filestore, 0, BOOL, false), OPTION(filestore, filestore_max_sync_interval, 0, DOUBLE, .2), // seconds - OPTION(filestore, filestore_min_sync_interval, 0, DOUBLE, .02), // seconds + OPTION(filestore, filestore_min_sync_interval, 0, DOUBLE, .001), // seconds OPTION(filestore, filestore_fake_attrs, 0, BOOL, false), OPTION(filestore, filestore_fake_collections, 0, BOOL, false), OPTION(filestore, filestore_dev, 0, STR, 0), -- 2.39.5