summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Ding <jack.ding@windriver.com>2018-07-11 21:29:43 -0400
committerJack Ding <jack.ding@windriver.com>2018-07-23 12:15:39 -0400
commita1f2589486dca432ee7a548b6a8049fc17179218 (patch)
tree6cfdb7bb332be7ebd07f8c80c6bc7b6780ac0c3b
parentdf58f0ba0fc10ddd0bf4e7db00138a7bc917e478 (diff)
Cleanup internal references
Story: 2002971 Task: 22979 Change-Id: I618d707ef141e8bd029b0fc80b4eaf34bacc7bf4 Signed-off-by: Jack Ding <jack.ding@windriver.com>
Notes
Notes (review): Code-Review+2: John Kung <john.kung@windriver.com> Workflow+1: Jack Ding <Jack.Ding@windriver.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 23 Jul 2018 17:25:56 +0000 Reviewed-on: https://review.openstack.org/584958 Project: openstack/stx-ha Branch: refs/heads/master
-rw-r--r--service-mgmt/sm-1.0.0/src/sm_node_swact_monitor.cpp4
-rw-r--r--service-mgmt/sm-1.0.0/src/sm_process.c4
-rw-r--r--service-mgmt/sm-1.0.0/src/sm_service_group_fsm.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/service-mgmt/sm-1.0.0/src/sm_node_swact_monitor.cpp b/service-mgmt/sm-1.0.0/src/sm_node_swact_monitor.cpp
index 306326a..b787365 100644
--- a/service-mgmt/sm-1.0.0/src/sm_node_swact_monitor.cpp
+++ b/service-mgmt/sm-1.0.0/src/sm_node_swact_monitor.cpp
@@ -18,7 +18,7 @@ void SmNodeSwactMonitor::SwactStart(SmNodeScheduleStateT my_role)
18 sm_node_utils_is_aio_duplex(&duplex); 18 sm_node_utils_is_aio_duplex(&duplex);
19 if( duplex ) 19 if( duplex )
20 { 20 {
21 // US102803: Set the swact state to start so task affining thread 21 // Set the swact state to start so task affining thread
22 // can affine tasks to all idle cores to speed up swact activity. 22 // can affine tasks to all idle cores to speed up swact activity.
23 DPRINTFI("Start of swact: affining tasks to idle cores..."); 23 DPRINTFI("Start of swact: affining tasks to idle cores...");
24 sm_set_swact_state(SM_SWACT_STATE_START); 24 sm_set_swact_state(SM_SWACT_STATE_START);
@@ -48,7 +48,7 @@ void SmNodeSwactMonitor::SwactCompleted(bool result)
48{ 48{
49 if( duplex ) 49 if( duplex )
50 { 50 {
51 // US102803: Set the swact state to end so task affining thread 51 // Set the swact state to end so task affining thread
52 // can reaffine tasks back to the platform cores. 52 // can reaffine tasks back to the platform cores.
53 DPRINTFI("End of swact: reaffining tasks back to platform cores..."); 53 DPRINTFI("End of swact: reaffining tasks back to platform cores...");
54 sm_set_swact_state(SM_SWACT_STATE_END); 54 sm_set_swact_state(SM_SWACT_STATE_END);
diff --git a/service-mgmt/sm-1.0.0/src/sm_process.c b/service-mgmt/sm-1.0.0/src/sm_process.c
index e55f25b..5a17a5e 100644
--- a/service-mgmt/sm-1.0.0/src/sm_process.c
+++ b/service-mgmt/sm-1.0.0/src/sm_process.c
@@ -351,7 +351,7 @@ static SmErrorT sm_process_initialize( void )
351 return( SM_FAILED ); 351 return( SM_FAILED );
352 } 352 }
353 353
354 // US102803: Start a task affining thread for AIO duplex system 354 // Start a task affining thread for AIO duplex system
355 if(_is_aio_duplex) 355 if(_is_aio_duplex)
356 { 356 {
357 error = sm_task_affining_thread_start(); 357 error = sm_task_affining_thread_start();
@@ -374,7 +374,7 @@ static SmErrorT sm_process_finalize( void )
374{ 374{
375 SmErrorT error; 375 SmErrorT error;
376 376
377 // US102803: Stop the task affining thread if it is AIO duplex 377 // Stop the task affining thread if it is AIO duplex
378 if(_is_aio_duplex) 378 if(_is_aio_duplex)
379 { 379 {
380 error = sm_task_affining_thread_stop(); 380 error = sm_task_affining_thread_stop();
diff --git a/service-mgmt/sm-1.0.0/src/sm_service_group_fsm.c b/service-mgmt/sm-1.0.0/src/sm_service_group_fsm.c
index ec5833e..6896b00 100644
--- a/service-mgmt/sm-1.0.0/src/sm_service_group_fsm.c
+++ b/service-mgmt/sm-1.0.0/src/sm_service_group_fsm.c
@@ -212,7 +212,7 @@ static SmErrorT sm_service_group_fsm_enter_state( SmServiceGroupT* service_group
212 break; 212 break;
213 213
214 case SM_SERVICE_GROUP_STATE_DISABLED: 214 case SM_SERVICE_GROUP_STATE_DISABLED:
215 // US102803: This is a workaround for lack of sm message that 215 // This is a workaround for lack of sm message that
216 // signifies the "end-of-swact" state on both controller nodes. 216 // signifies the "end-of-swact" state on both controller nodes.
217 // 217 //
218 // As all service groups have to transition to disabled state 218 // As all service groups have to transition to disabled state