"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ntf/ntfd/ntfs_evt.c" between
opensaf-5.21.06.tar.gz and opensaf-5.21.09.tar.gz

About: OpenSAF is a project focused on Service Availability (SA) that develops middleware based on open and industry standard interfaces for applications requiring uninterrupted 24x7 service.

ntfs_evt.c  (opensaf-5.21.06):ntfs_evt.c  (opensaf-5.21.09)
skipping to change at line 113 skipping to change at line 113
switch (evt->evt_type) { switch (evt->evt_type) {
case NTFSV_NTFS_EVT_NTFA_UP: case NTFSV_NTFS_EVT_NTFA_UP:
break; break;
case NTFSV_NTFS_EVT_NTFA_DOWN: case NTFSV_NTFS_EVT_NTFA_DOWN:
// Remove the clients belong to the ntfa down with MDS_DEST // Remove the clients belong to the ntfa down with MDS_DEST
if (ntfs_cb->ha_state == SA_AMF_HA_STANDBY) { if (ntfs_cb->ha_state == SA_AMF_HA_STANDBY) {
ClientsDownRemoved(evt->fr_dest); ClientsDownRemoved(evt->fr_dest);
} else { } else {
clientRemoveMDS(evt->fr_dest); clientRemoveMDS(evt->fr_dest);
} }
if (evt->internal_event == true) {
// Internal down generated event in case of discarded ntf
TRACE("Sending async update to standby");
ntfsv_ckpt_msg_t ckpt;
memset(&ckpt, 0, sizeof(ckpt));
ckpt.header.ckpt_rec_type = NTFS_CKPT_AGENT_DOWN;
ckpt.header.num_ckpt_records = 1;
ckpt.header.data_len = 0;
ckpt.ckpt_rec.agent_dest = evt->fr_dest;
update_standby(&ckpt, NCS_MBCSV_ACT_RMV);
}
break; break;
default: default:
TRACE("Unknown evt type!!!"); TRACE("Unknown evt type!!!");
break; break;
} }
TRACE_LEAVE(); TRACE_LEAVE();
return NCSCC_RC_SUCCESS; return NCSCC_RC_SUCCESS;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)