Hi Canh, I see, yes I suspected that it was some test printouts etc. that were to be removed.
Ack. I still have not checked the solution as such and its consequences and I have not done any actual test. Thanks Lennart -----Original Message----- From: Canh Van Truong <canh.v.tru...@dektech.com.au> Sent: den 28 november 2018 05:13 To: Lennart Lund <lennart.l...@ericsson.com>; Minh Hon Chau <minh.c...@dektech.com.au> Cc: opensaf-devel@lists.sourceforge.net; Canh Van Truong <canh.v.tru...@dektech.com.au> Subject: [PATCH 1/1] ntf: Increase the priority when sending MDS_DOWN to NTFD maind thread [#2973] When the sending notification request come to NTFD , they are put in the mbx to wait for being processed. if client of these request is down, MDS thread receive the event down and also put to mbx. The priority of event down and send request are the same. So NTF will process the send request before the event down. The patch increases the priority when puting the MDS_DOWN event to main thread --- src/ntf/ntfd/ntfs_mds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ntf/ntfd/ntfs_mds.c b/src/ntf/ntfd/ntfs_mds.c index a4b4a5f09..bede30cef 100644 --- a/src/ntf/ntfd/ntfs_mds.c +++ b/src/ntf/ntfd/ntfs_mds.c @@ -954,7 +954,7 @@ static uint32_t mds_svc_event(struct ncsmds_callback_info *info) /* Push the event and we are done */ if (m_NCS_IPC_SEND(&ntfs_cb->mbx, evt, - NCS_IPC_PRIORITY_HIGH) != + NCS_IPC_PRIORITY_VERY_HIGH) != NCSCC_RC_SUCCESS) { TRACE("ipc send failed"); ntfs_evt_destroy(evt); -- 2.15.1 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel