From b46bcdc5ab62756dc71c48871c03eb312282dcac Mon Sep 17 00:00:00 2001
From: slioch <slioch@eng-140.vyatta.com>
Date: Sat, 10 Oct 2009 23:24:15 -0700
Subject: performance optimization on commit. On successful commits (i.e. no
 failures) will improve performance by avoiding the piecewise priority based
 copy and just copy the complete configuration once. On specific test
 configuration performance improvement brought commit boot time down from >15
 minutes to less than 10 minutes.

---
 src/common/common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/common/common.h')

diff --git a/src/common/common.h b/src/common/common.h
index 06e3a9e..8b46498 100644
--- a/src/common/common.h
+++ b/src/common/common.h
@@ -42,7 +42,7 @@ common_set_parent_context(char *cpath, char *dpath);
  *
  **/
 void
-common_commit_copy_to_live_config(GNode *root_node, boolean test_mode);
+common_commit_copy_to_live_config(GNode *root_node, boolean suppress_piecewise_copy, boolean test_mode);
 
 /**
  *
-- 
cgit v1.2.3