Re: [devel] [PATCH 0 of 2] Review Request for mdstest: handle memory leak [#1860]

2017-03-07 Thread Zoran Milinkovic
Hi Hoang, Reviewed and tested both patches. There is still a memory leak when some tests fail. ==20325== 752 bytes in 2 blocks are definitely lost in loss record 9 of 10 ==20325==at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==20325==by 0x4E7731D:

Re: [devel] [PATCH 1 of 1] imm:changing clm indicating object to CLMS node up [#2330] V2

2017-03-07 Thread Zoran Milinkovic
Hi Neelakanta, You are right. I tested with the old version. OpenSAF works fine with V2 patch. Ack from me. Thanks, Zoran -Original Message- From: Neelakanta Reddy [mailto:reddy.neelaka...@oracle.com] Sent: den 7 mars 2017 08:09 To: Zoran Milinkovic <zoran.milinko...@ericsson.

Re: [devel] [PATCH 1 of 1] imm:changing clm indicating object to CLMS node up [#2330] V2

2017-03-06 Thread Zoran Milinkovic
eId = 131855, SupervisionTime = 60 Mar 6 15:37:33 PL-3 opensaf_reboot: Rebooting local node; timeout=60 Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 3 mars 2017 12:54 To: Hung Duc Nguyen <hung.d.ngu...@

Re: [devel] [PATCH 1 of 1] imm: updated the agent version to latest supported agent version [#2329]

2017-03-06 Thread Zoran Milinkovic
Hi Neelakanta, Ack from me. Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 6 mars 2017 11:34 To: Hung Duc Nguyen <hung.d.ngu...@dektech.com.au>; Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: o

Re: [devel] [PATCH 1 of 1] imm: init CLM in seperate thread to avoid deadlock [#2327] V2

2017-03-03 Thread Zoran Milinkovic
To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hung Duc Nguyen <hung.d.ngu...@dektech.com.au> Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [PATCH 1 of 1] imm: init CLM in seperate thread to avoid deadlock [#2327] V2 Hi zoran, comments inline. On 2017/03/02 06:06 PM, Zora

Re: [devel] [PATCH 1 of 1] imm: Sync latest ccb-id to sync clients [#2323]

2017-03-02 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 1 mars 2017 11:19 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [PATCH 1 of 1] imm: Sync latest

Re: [devel] [PATCH 1 of 1] imm: init CLM in seperate thread to avoid deadlock [#2327] V2

2017-03-02 Thread Zoran Milinkovic
rmv_ind(_cb->clm_init_sel_obj, true, true); } This is a quick solution without testing. Please check is this proposal will work. Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 2 mars 2017 08:32 To: Hung Duc

Re: [devel] [PATCH 0 of 3] Review Request for Integrate IMM service with CLM [#1640] V3

2017-02-27 Thread Zoran Milinkovic
Hi Neelakanta, Reviewed the code. Ack from me. Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 27 februari 2017 12:56 To: Hung Duc Nguyen <hung.d.ngu...@dektech.com.au>; Zoran Milinkovic <zoran.milinko...@eri

Re: [devel] [PATCH 1 of 1] base: Add a collision-resistant hash function [#2266]

2017-02-24 Thread Zoran Milinkovic
Hi Hans, With one hash and one crypto function, I would rather go with our own implementation. Both of them is not hard to implement. If there is a need for supporting more algorithms in the future, then I would consider for using OpenSSL. As Anders has pointed out, adding OpenSSL means adding

Re: [devel] [PATCH 1 of 1] base: Add a collision-resistant hash function [#2266]

2017-02-21 Thread Zoran Milinkovic
Hi Anders, I have few comments to the patch The hash function will not work on big endian systems. Do we support only little endian systems or OpenSAF code should work on both endian systems ? Base64 has only encoding function. If something is going to be pushed to base directory, then I think

Re: [devel] [PATCH 1 of 1] imm: Cleanup orphaned implementers and admowners when headless [#2309]

2017-02-21 Thread Zoran Milinkovic
Hi Hung, Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 17 februari 2017 09:06 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourcefor

Re: [devel] [PATCH 1 of 1] imm: Fix problems with removing coordinator role when cluster goes headless [#2296]

2017-02-20 Thread Zoran Milinkovic
Hi Hung, Reviewed and tested the patch. No more zombie processes. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 13 februari 2017 05:00 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.

[devel] [PATCH 1 of 1] imm: fix PBE coredump for double freeing memory [#2304]

2017-02-13 Thread Zoran Milinkovic
src/imm/common/immpbe_dump.cc| 29 +++-- src/imm/immpbed/immpbe_daemon.cc | 2 ++ 2 files changed, 21 insertions(+), 10 deletions(-) A static string variable sPbeFileName is double freed when exit call is called from 2 threads. The patch dynamicly allocate the

[devel] [PATCH 0 of 1] Review Request for imm: fix PBE coredump for double freeing memory [#2304]

2017-02-13 Thread Zoran Milinkovic
Other n Comments (indicate scope for each "y" above): - changeset 8b9bf1c0d417990931c702defaf4b2cfabb74af5 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Mon, 13 Feb 2017 13:36:49 +0100 imm:

Re: [devel] [PATCH 1 of 1] imm: Fix problems with removing coordinator role when cluster goes headless [#2296]

2017-02-10 Thread Zoran Milinkovic
?SNl 14:18 0:01 /usr/lib/opensaf/osafimmpbed --pbe /etc/opensaf/imm.db Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 10 februari 2017 08:26 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: o

[devel] [PATCH 1 of 1] mds: improve MDS logging [#2297]

2017-02-09 Thread Zoran Milinkovic
src/mds/mds_c_sndrcv.c | 38 +++--- 1 files changed, 23 insertions(+), 15 deletions(-) Improve MDS logging in mds_mcm_time_wait() and split the common MDS log into timeout and error logs. In other places after mds_mcm_time_wait() calls, the log messages are

[devel] [PATCH 0 of 1] Review Request for mds: improve MDS logging [#2297]

2017-02-09 Thread Zoran Milinkovic
Comments (indicate scope for each "y" above): - changeset 73aa6aa93c98f27c776ddd6e36ea073a56590250 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Thu, 09 Feb 2017 14:32:58 +0100 mds: improve MDS logging [#2297]

Re: [devel] [PATCH 1 of 1] imm: Update NO_DANGLING document with information about ATTR_DN [#2276]

2017-02-07 Thread Zoran Milinkovic
Hi Hung, Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 6 februari 2017 04:45 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourcefor

Re: [devel] [PATCH 1 of 1] ckpt: return SA_AIS_ERR_BAD_HANDLE if ckpt handle is not found in checkpoint open call [#2283]

2017-02-01 Thread Zoran Milinkovic
will see that it's obvious that this reply is missing in the function. BR, Zoran -Original Message- From: A V Mahesh [mailto:mahesh.va...@oracle.com] Sent: den 1 februari 2017 04:39 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net Subje

[devel] [PATCH 1 of 1] ckpt: return SA_AIS_ERR_BAD_HANDLE if ckpt handle is not found in checkpoint open call [#2283]

2017-01-31 Thread Zoran Milinkovic
src/ckpt/ckptnd/cpnd_evt.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) If a client node is not found in cpnd_evt_proc_ckpt_open(), the checkpoint node director will reply with SA_AIS_ERR_BAD_HANDLE. diff --git a/src/ckpt/ckptnd/cpnd_evt.c b/src/ckpt/ckptnd/cpnd_evt.c ---

[devel] [PATCH 0 of 1] Review Request for ckpt: return SA_AIS_ERR_BAD_HANDLE if ckpt handle is not found in checkpoint open call [#2283]

2017-01-31 Thread Zoran Milinkovic
libraries n Samples n Tests n Other n Comments (indicate scope for each "y" above): - changeset 3af6cc61bf08fd86a20d1f4ce87e8c41435e17c7 Author: Zoran Milinkovic <zoran.milinko...

Re: [devel] [PATCH 0 of 1] Review Request for cpsv: Update ckpt_reploc_tree when unlinking a checkpoint [#1655

2017-01-31 Thread Zoran Milinkovic
Hi Hoang, Can you share the test code ? I cannot reproduce steps you have described. I might be missing something. Thanks, Zoran -Original Message- From: Hoang Vo [mailto:hoang.m...@dektech.com.au] Sent: den 19 januari 2017 08:08 To: mahesh.va...@oracle.com; Zoran Milinkovic

Re: [devel] [PATCH 1 of 1] base: fix memory leak and timer state in sysf_tmr.c [#2251]

2017-01-24 Thread Zoran Milinkovic
Hi Anders, I'll add your comment when I push the patch. Thanks, Zoran -Original Message- From: Anders Widell Sent: den 10 januari 2017 15:38 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; ramesh.bet...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: Re:

Re: [devel] [PATCH 1 of 1] base: fix decrementing reference counter in ncs_tmr_start and ncs_tmr_remaining [#2249]

2017-01-24 Thread Zoran Milinkovic
Hi Anders, No, we can't. If we are going to remove ncslpg_*, then we need another ticket. Thanks, Zoran -Original Message- From: Anders Widell Sent: den 10 januari 2017 15:10 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; ramesh.bet...@oracle.com Cc: opensaf

[devel] [PATCH 1 of 1] base: calculate timer timeouts from the time computer starts [#2248]

2017-01-24 Thread Zoran Milinkovic
src/base/sysf_tmr.c | 27 ++- 1 files changed, 6 insertions(+), 21 deletions(-) Timers started before the timer engine thread is started are calculated from the time a computer starts. Timers started after the timer engine thread started are calculated from the time

[devel] [PATCH 0 of 1] Review Request for base: calculate timer timeouts from the time computer starts [#2248]

2017-01-24 Thread Zoran Milinkovic
n Other n Comments (indicate scope for each "y" above): - changeset 82a6e93d9e4406a2bb0ca05c6b127d74d56ae796 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Tue, 24 Jan 2017 10:40:05 +01

Re: [devel] [PATCH 1 of 1] imm: Add missing checks for SaStringT attributes with ATTR_DN flag [#2270]

2017-01-23 Thread Zoran Milinkovic
Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 23 januari 2017 08:54 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 1 of 1] imm: Add missing check

Re: [devel] [PATCH 1 of 1] imm: Fix the mismatch when resetting sLastContinuationId [#2272]

2017-01-23 Thread Zoran Milinkovic
Hi Hung, Reviewed the code. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 19 januari 2017 12:20 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourcefor

Re: [devel] [PATCH 1 of 1] imm: Remove unused variables from saImmOmClassCreate_2() [#2271]

2017-01-23 Thread Zoran Milinkovic
Hi Hung, Reviewed the code. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 19 januari 2017 11:39 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourcefor

Re: [devel] [PATCH 1 of 1] base: synchronize timer thread with the main thread [#2248]

2017-01-19 Thread Zoran Milinkovic
for timers. I will republish the patch next week. BR, Zoran -Original Message- From: ramesh betham [mailto:ramesh.bet...@oracle.com] Sent: den 19 januari 2017 12:27 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: Anders Widell <anders.wid...@ericsson.com>; o

Re: [devel] [PATCH 1 of 1] imm: Add imm_common to LIBADD list of libSaImmOi [#2273]

2017-01-19 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 19 januari 2017 07:25 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com; Anders Widell <anders.wid...@ericsson.com>

[devel] [PATCH 1 of 1] imm: fix memory leak in PBE [#2260]

2017-01-12 Thread Zoran Milinkovic
src/imm/immpbed/immpbe_daemon.cc | 34 ++ 1 files changed, 18 insertions(+), 16 deletions(-) Fix memory leak in PBE when admin op for resource display is invoked. Additional indentation fix is added to the patch. diff --git a/src/imm/immpbed/immpbe_daemon.cc

[devel] [PATCH 0 of 1] Review Request for imm: fix memory leak in PBE [#2260]

2017-01-12 Thread Zoran Milinkovic
n Other n Comments (indicate scope for each "y" above): - changeset 3e89f5ba272d17a302554ee632cb24cce0bea923 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Thu, 12 Jan 2017 14:19:28 +0100

[devel] [PATCH 1 of 1] ckpt: fix memory leak in saCkptCheckpointRead [#2256]

2017-01-10 Thread Zoran Milinkovic
src/ckpt/agent/cpa_proc.c | 22 -- 1 files changed, 16 insertions(+), 6 deletions(-) Allocated memory in cpa_proc_build_data_access_evt() is freed. diff --git a/src/ckpt/agent/cpa_proc.c b/src/ckpt/agent/cpa_proc.c --- a/src/ckpt/agent/cpa_proc.c +++

[devel] [PATCH 0 of 1] Review Request for ckpt: fix memory leak in saCkptCheckpointRead [#2256]

2017-01-10 Thread Zoran Milinkovic
Tests n Other n Comments (indicate scope for each "y" above): - changeset eea7b196b146baa5fdf4e854a2f5ceab805daf95 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Tue, 10 Jan 201

[devel] [PATCH 0 of 1] Review Request for ckpt: fix memory leak in cpd_a2s_ckpt_usr_info [#2257]

2017-01-10 Thread Zoran Milinkovic
Tests n Other n Comments (indicate scope for each "y" above): - changeset 38b9760aee947d41b2bc8760fa6f0f181f9621e5 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Tue, 10 Jan 201

[devel] [PATCH 1 of 1] ckpt: fix memory leak in cpd_a2s_ckpt_usr_info [#2257]

2017-01-10 Thread Zoran Milinkovic
src/ckpt/ckptd/cpd_red.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Fix memory leak in cpd_a2s_ckpt_usr_info() in cpd_red.c diff --git a/src/ckpt/ckptd/cpd_red.c b/src/ckpt/ckptd/cpd_red.c --- a/src/ckpt/ckptd/cpd_red.c +++ b/src/ckpt/ckptd/cpd_red.c @@ -339,5 +339,8 @@ void

[devel] [PATCH 0 of 1] Review Request for ckpt: fix extended name issues in the library [#2128]

2017-01-10 Thread Zoran Milinkovic
n Other n Comments (indicate scope for each "y" above): - changeset 5139bc63f580d9b3dcc6e9caeefaf3bbfa4c7292 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Tue, 10 Jan 2017 16:21:56 +0100

[devel] [PATCH 1 of 1] ckpt: fix extended name issues in the library [#2128]

2017-01-10 Thread Zoran Milinkovic
src/ckpt/agent/cpa_api.c | 26 +++--- src/ckpt/ckptnd/cpnd_evt.c | 12 2 files changed, 19 insertions(+), 19 deletions(-) Fix string temination issues when SaNameT value is provided to saCkptCheckpointOpen(), saCkptCheckpointOpenAsync() and

Re: [devel] [PATCH 0 of 1] Review Request for imm: return TRY_AGAIN when RepositoryInit mode is chaged to file, during the CCB PBE disable processing [#2229] V2

2017-01-05 Thread Zoran Milinkovic
Hi Neelakanta, Reviewed and tested the patch. Ack from me. Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 30 december 2016 08:03 To: Hung Duc Nguyen <hung.d.ngu...@dektech.com.au>; Zoran Milinkovic <zora

[devel] [PATCH 1 of 1] base: fix memory leak and timer state in sysf_tmr.c [#2251]

2017-01-04 Thread Zoran Milinkovic
src/base/sysf_tmr.c | 9 - 1 files changed, 8 insertions(+), 1 deletions(-) Fix memory leak in ncs_tmr_add_pat_node() Fix timer state, so that the timer will not execute if ncs_tmr_start() fails diff --git a/src/base/sysf_tmr.c b/src/base/sysf_tmr.c --- a/src/base/sysf_tmr.c +++

[devel] [PATCH 0 of 1] Review Request for base: fix memory leak and timer state in sysf_tmr.c [#2251]

2017-01-04 Thread Zoran Milinkovic
n Tests n Other n Comments (indicate scope for each "y" above): - changeset 7782a5f4a72f0a38bf392c72b1eebeb163582318 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Wed, 04 J

[devel] [PATCH 0 of 1] Review Request for base: fix decrementing reference counter in ncs_tmr_start and ncs_tmr_remaining [#2249]

2017-01-04 Thread Zoran Milinkovic
n Samples n Tests n Other n Comments (indicate scope for each "y" above): - changeset 59aa1f7d9e6012e70470b3467eadb42454b6dcd2 Author: Zoran Milinkovic <zoran.milinko...@erics

[devel] [PATCH 1 of 1] base: fix decrementing reference counter in ncs_tmr_start and ncs_tmr_remaining [#2249]

2017-01-04 Thread Zoran Milinkovic
src/base/sysf_tmr.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Add missing decrementing reference counter 'gl_tcb.persist' in ncs_tmr_start() and ncs_tmr_remaining() diff --git a/src/base/sysf_tmr.c b/src/base/sysf_tmr.c --- a/src/base/sysf_tmr.c +++ b/src/base/sysf_tmr.c @@

[devel] [PATCH 1 of 1] base: synchronize timer thread with the main thread [#2248]

2017-01-03 Thread Zoran Milinkovic
src/base/sysf_tmr.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) sysfTmrCreate() will wait for max 1 second for the timer thread to be fully ready to start timers. diff --git a/src/base/sysf_tmr.c b/src/base/sysf_tmr.c --- a/src/base/sysf_tmr.c +++

[devel] [PATCH 0 of 1] Review Request for base: synchronize timer thread with the main thread [#2248]

2017-01-03 Thread Zoran Milinkovic
n Other n Comments (indicate scope for each "y" above): - changeset c6fd229c74ecebb3e776e7ff8884f9a001412d0b Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Tue, 03 Jan 2017 16:37:06 +0100 b

[devel] [PATCH 0 of 1] Review Request for leap: fix sysfTmrCreate and return values [#2246]

2017-01-02 Thread Zoran Milinkovic
Tests n Other n Comments (indicate scope for each "y" above): - changeset 4618b4305c8e88d59dfa146a7abb2ff57d9a6306 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Mon, 02 Jan 201

[devel] [PATCH 1 of 1] leap: fix sysfTmrCreate and return values [#2246]

2017-01-02 Thread Zoran Milinkovic
osaf/libs/core/leap/sysf_def.c | 2 +- osaf/libs/core/leap/sysf_tmr.c | 23 ++- 2 files changed, 19 insertions(+), 6 deletions(-) Fix sysfTmrCreate and return values. diff --git a/osaf/libs/core/leap/sysf_def.c b/osaf/libs/core/leap/sysf_def.c ---

Re: [devel] [PATCH 0 of 3] Review Request for imm: Improve the iteration in ImmModel [#2224]

2016-12-20 Thread Zoran Milinkovic
Hi Hung, Reviewed and tested the patch. Ack from me. Memory leak fixed in the second review file needs to be fixed in earlier OpenSAF releases. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 13 december 2016 04:28 To: Zoran

Re: [devel] [PATCH 0 of 1] Review Request for imm: Remove use of SaBoolT from message type [#2225]

2016-12-20 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 20 december 2016 08:37 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [P

Re: [devel] [PATCH 1 of 3] imm: Remove use of SaBoolT from library [#2225]

2016-12-20 Thread Zoran Milinkovic
Hi, immOmIsLoader has been recently changed (#8434). I must be checking of earlier OpenSAF release. Ignore immOmIsLoader comment. Thanks, Zoran From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 20 december 2016 08:55 To: Zoran Milinkovic <zoran.milinko...@ericsson.

Re: [devel] [PATCH 0 of 1] Review Request for imm: Remove use of SaBoolT [#2225]

2016-12-19 Thread Zoran Milinkovic
Hi Hung, Ack from me with a minor comment on immOmIsLoader I sent for the first code review. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 14 december 2016 09:45 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.n

Re: [devel] [PATCH 1 of 1] imm: Remove use of SaBoolT from IMM tools and tests [#2225]

2016-12-19 Thread Zoran Milinkovic
Hi Hung, Reviewed the code. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 14 december 2016 09:45 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourcefor

[devel] [PATCH 1 of 1] build: add top build directory to include path [#2221]

2016-12-08 Thread Zoran Milinkovic
Makefile.common| 1 + osaf/libs/core/cplusplus/base/mutex.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) After executing ./configure, config.h is created in the build directory. Top build directory is added to the include path, and solves building issue

[devel] [PATCH 0 of 1] Review Request for build: add top build directory to include path [#2221]

2016-12-08 Thread Zoran Milinkovic
n Comments (indicate scope for each "y" above): - changeset 706f4519e765d1b0a65b03bf43d0a57287257b8e Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Thu, 08 Dec 2016 16:42:57 +0100 build: add top

Re: [devel] [PATCH 0 of 1] Review Request for imm: move IMM error string prefixes to header file [#2198]

2016-12-08 Thread Zoran Milinkovic
Hi, Affected branches should be: opensaf-5.0.x, opensaf-5.1.x, default(5.2) Development branch: default(5.2) Thanks, Zoran -Original Message- From: Zoran Milinkovic [mailto:zoran.milinko...@ericsson.com] Sent: den 8 december 2016 14:34 To: reddy.neelaka...@oracle.com Cc: opensaf-devel

[devel] [PATCH 0 of 1] Review Request for imm: move IMM error string prefixes to header file [#2198]

2016-12-08 Thread Zoran Milinkovic
n Other n Comments (indicate scope for each "y" above): - <> changeset 482be4eb534d858a1df19228bd131b83d0e89cd3 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Thu, 08 Dec 2016 14:30:43 +0100

[devel] [PATCH 1 of 1] imm: move IMM error string prefixes to header file [#2198]

2016-12-08 Thread Zoran Milinkovic
osaf/services/saf/immsv/immnd/ImmModel.cc | 4 osaf/services/saf/immsv/immnd/immnd_cb.h | 4 osaf/services/saf/immsv/immnd/immnd_evt.c | 4 3 files changed, 4 insertions(+), 8 deletions(-) Move IMM error string prefixes to immnd_cb.h header file. diff --git

Re: [devel] [PATCH 1 of 1] imm:allow augumentCcbInit with ROF as false in completed callback[#1956] V4

2016-12-07 Thread Zoran Milinkovic
Hi Neelakanta, I missed that detail. Reviewed and tested the patch. Ack from me. Thanks, Zoran -Original Message- From: Neelakanta Reddy [mailto:reddy.neelaka...@oracle.com] Sent: den 7 december 2016 06:41 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hung Duc

Re: [devel] [PATCH 1 of 1] imm:allow augumentCcbInit with ROF as false in completed callback[#1956] V4

2016-12-06 Thread Zoran Milinkovic
...@oracle.com] Sent: den 6 december 2016 12:11 To: Hung Duc Nguyen <hung.d.ngu...@dektech.com.au>; Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 1 of 1] imm:allow augumentCcbInit with ROF as false in completed callback[#1956] V4 osaf

Re: [devel] [PATCH 1 of 1] imm:allow augumentCcbInit with ROF as false in completed callback[#1956] V2

2016-12-01 Thread Zoran Milinkovic
Hi Neelakanta, Ack from me when the code is fixed. Thanks, Zoran From: Neelakanta Reddy [mailto:reddy.neelaka...@oracle.com] Sent: den 1 december 2016 10:35 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hung Duc Nguyen <hung.d.ngu...@dektech.com.au> Cc: o

Re: [devel] [PATCH 1 of 1] imm:allow augumentCcbInit with ROF as false in completed callback[#1956] V2

2016-12-01 Thread Zoran Milinkovic
Hi Hung, Then the code needs to be fixed, and objectName variable can remain in the code. Otherwise I don't see the purpose of the variable. Thanks, Zoran From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 1 december 2016 10:04 To: Zoran Milinkovic <zoran.milinko...@ericsson.

Re: [devel] [PATCH 1 of 1] imm:allow augumentCcbInit with ROF as false in completed callback[#1956] V2

2016-12-01 Thread Zoran Milinkovic
Sent: den 1 december 2016 05:56 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hung Duc Nguyen <hung.d.ngu...@dektech.com.au> Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [PATCH 1 of 1] imm:allow augumentCcbInit with ROF as false in completed callback[#1956] V2 Hi Zoran

Re: [devel] [PATCH 1 of 1] imm:allow augumentCcbInit with ROF as false in completed callback[#1956] V2

2016-11-30 Thread Zoran Milinkovic
, and replace it with SaImmAdminOwnerNameT (or other sting type). Find other comments inline -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 30 november 2016 06:39 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hung Duc

Re: [devel] [PATCH 1 of 1] imm: Correct nodeId assertion in ImmModel::ccbAbort() [#2205]

2016-11-28 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 25 november 2016 08:35 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [P

Re: [devel] [PATCH 1 of 1] imm:converted notice to trace at the time of loading when default_removed flag is set[#2195]

2016-11-22 Thread Zoran Milinkovic
Hi Neelakanta, Reviewed the code. Ack from me. Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 22 november 2016 11:04 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hung Duc Nguyen <hung.d.ngu...@dekte

Re: [devel] [PATCH 1 of 1] imm: Fix external linkage in OI library [#2167]

2016-11-14 Thread Zoran Milinkovic
Hi Hung, Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 4 november 2016 05:42 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourcefor

Re: [devel] [PATCH 1 of 1] imm: Avoid hard coding attributes count in saImmOmAccessorGet_2_04 [#2140]

2016-10-25 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 25 oktober 2016 12:54 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [P

Re: [devel] [PATCH 1 of 1] imm: Store mScAbsenceAllowed as 32 bit unsigned integer [#2130]

2016-10-21 Thread Zoran Milinkovic
Hi Hung, Nice work with MBC versions. Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 21 oktober 2016 06:39 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: o

Re: [devel] [PATCH 1 of 1] imm: Fix error handling path when imma_sync_with_immnd fails [#2131]

2016-10-20 Thread Zoran Milinkovic
Hi Anders, Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: Anders Widell Sent: den 20 oktober 2016 12:53 To: reddy.neelaka...@oracle.com; Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hung Duc Nguyen <hung.d.ngu...@dektech.com.au> Cc: o

Re: [devel] [PATCH 1 of 1] imm: Don't send ND2ND_ADMOP_RSP message when OI and OM client are on the same node [#2113]

2016-10-18 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 17 oktober 2016 08:00 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [P

Re: [devel] [PATCH 1 of 1] immtool: print out enum name for SAF error code [#2123]

2016-10-18 Thread Zoran Milinkovic
Hi Hung, Reviewed, but not tested. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 18 oktober 2016 08:58 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf

Re: [devel] [PATCH 1 of 1] imm: Return error string when object is being created in another CCB [#2111]

2016-10-12 Thread Zoran Milinkovic
Hi Hung, Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 12 oktober 2016 05:02 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourcefor

Re: [devel] [PATCH 1 of 1] immtool: Don't finalize admo if it hasn't been initialized [#2107]

2016-10-11 Thread Zoran Milinkovic
Hi Hung, Reviewed, but not tested. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 11 oktober 2016 05:57 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf

Re: [devel] [PATCH 1 of 1] imm: Also do not send ccb abort reply to clients if the CCBs are in EMPTY state [#2010]

2016-10-06 Thread Zoran Milinkovic
Hi Hung, Reviewed the patch, Ack from me. Thanks, Zoran -Original Message- From: Hung Duc Nguyen Sent: den 6 oktober 2016 10:43 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 1 of 1] imm

Re: [devel] [PATCH 1 of 1] imm: Set validation abort error string when OI returns ERR_BAD_OPERATION or ERR_FAILED_OPERATION [#1650]

2016-10-03 Thread Zoran Milinkovic
Hi Hung, A minor comment can be found inline. Ack when the code is fixed. No need to send the patch for another review. -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 29 september 2016 11:24 To: Zoran Milinkovic <zoran.milinko...@ericsson.

Re: [devel] [PATCH 1 of 1] imm:abort the uncommited ccbs when the implementer gracefully disconnects [#2056]

2016-09-28 Thread Zoran Milinkovic
Hi Neelakanta, Ack from me. Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 26 september 2016 11:20 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hung Duc Nguyen <hung.d.ngu...@dektech.com.au> Cc: o

Re: [devel] [PATCH 1 of 1] imm: Do not send ccb abort reply to clients if they are not in CCB call [#2010]

2016-09-26 Thread Zoran Milinkovic
Hi Hung, Reviewed the code. Ack from me. BR, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 23 september 2016 09:49 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourcefor

Re: [devel] [PATCH 1 of 1] imm: Dont allow standby IMMD to send fevs if active IMMD is still up [#2029]

2016-09-22 Thread Zoran Milinkovic
, Zoran From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 22 september 2016 13:19 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [PATCH 1 of 1] imm: Dont allow standby IMMD to send fevs if

Re: [devel] [PATCH 1 of 1] imm: Dont allow standby IMMD to send fevs if active IMMD is still up [#2029]

2016-09-22 Thread Zoran Milinkovic
Hi Hung, A minor comment inline. -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 20 september 2016 07:38 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [P

[devel] [PATCH 1 of 1] clm: fill SaNameT value with zeros [#2015]

2016-09-20 Thread Zoran Milinkovic
osaf/libs/common/clmsv/clmsv_enc_dec.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Set zeros in SaNameT value before SaNameT is populated with incoming SaNameT string from the network. This will make node name unique in patricia tree, and the node name search mismatch will be

[devel] [PATCH 0 of 1] Review Request for clm: fill SaNameT value with zeros [#2015]

2016-09-20 Thread Zoran Milinkovic
n Comments (indicate scope for each "y" above): - changeset 096dd54d77c4c15392a38ff91d5f37e4cbdb8a04 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Tue, 20 Sep 2016 10:52:41 +0200 clm: fi

Re: [devel] Reviewe request for IMMsv PR document [#2024]

2016-09-16 Thread Zoran Milinkovic
ck from me when the upper sentence is fixed. No need to send the document for another review. Thanks, Zoran -Original Message- From: Neelakanta Reddy [mailto:reddy.neelaka...@oracle.com] Sent: den 16 september 2016 12:28 To: Zoran Milinkovic; Hung Duc Nguyen; opensaf-devel@lists.sourc

Re: [devel] [PATCH 1 of 1] imm:consider Active ccbs for maxccbs limit [#1994]

2016-09-15 Thread Zoran Milinkovic
Hi Neelakanta, Nice work. Ack from me. Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 13 september 2016 13:06 To: Zoran Milinkovic; Hung Duc Nguyen Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 1 of 1

Re: [devel] [PATCH 1 of 1] imm: return the correct error code for ERR_LIBRARY in saImmOiAugmentCcbInitialize [#1816]

2016-09-14 Thread Zoran Milinkovic
Hi Neelakanta, Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 13 september 2016 13:47 To: Zoran Milinkovic; Hung Duc Nguyen Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 1 of 1

Re: [devel] [PATCH 1 of 1] imm : updated Makefile to reflect README files [#2031]

2016-09-14 Thread Zoran Milinkovic
Hi Neelakanta, Ack from me. Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 14 september 2016 10:58 To: Zoran Milinkovic; Hung Duc Nguyen; mathi.naic...@oracle.com; Anders Widell Cc: opensaf-devel@lists.sourceforge.net

Re: [devel] [PATCH 1 of 1] clm: avoid checking length of sanamet when clm service is filling data [#2002]

2016-09-09 Thread Zoran Milinkovic
Hi Mathi, notificationBuffer in only OUT parameter, and input parameters should not be checked. Ack from me. Thanks, Zoran -Original Message- From: mathi.naic...@oracle.com [mailto:mathi.naic...@oracle.com] Sent: den 9 september 2016 11:40 To: Zoran Milinkovic Cc: opensaf-devel

Re: [devel] Review request for updates to CLM PR FOR 5.1

2016-09-09 Thread Zoran Milinkovic
Hi Mathi, Ack from me. Thanks, Zoran -Original Message- From: Mathivanan Naickan Palanivelu [mailto:mathi.naic...@oracle.com] Sent: den 9 september 2016 12:23 To: Zoran Milinkovic Cc: opensaf-devel@lists.sourceforge.net Subject: Review request for updates to CLM PR FOR 5.1 Hi, Please

Re: [devel] [PATCH 1 of 1] clm: avoid checking length of sanamet when clm service is filling data [#2002]

2016-09-09 Thread Zoran Milinkovic
-Original Message- From: mathi.naic...@oracle.com [mailto:mathi.naic...@oracle.com] Sent: den 9 september 2016 11:40 To: Zoran Milinkovic Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 1 of 1] clm: avoid checking length of sanamet when clm service is filling data [#2002] osaf/libs

Re: [devel] Immnd: maximum Ccbs limit 10000 has been reached very quickly

2016-09-05 Thread Zoran Milinkovic
...@oracle.com; Anders Widell; Zoran Milinkovic; Hung Duc Nguyen; reddy.neelaka...@oracle.com; opensaf-devel@lists.sourceforge.net Subject: Re: [devel] Immnd: maximum Ccbs limit 1 has been reached very quickly The IMM service uses the "presumed abort" definition of what a missing CCB re

Re: [devel] Immnd: maximum Ccbs limit 10000 has been reached very quickly

2016-09-05 Thread Zoran Milinkovic
to test the performance between std::vector and std::map. Anyway, this improvement can only be done in the next OpenSAF release. Thanks, Zoran From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 5 september 2016 13:25 To: Zoran Milinkovic; Anders Widell; A V Mahesh; Neelakanta Reddy

Re: [devel] Immnd: maximum Ccbs limit 10000 has been reached very quickly

2016-09-05 Thread Zoran Milinkovic
for minutes because some other application intensively used CCBs and managed to close 1 handles within a minute. BR, Zoran From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 5 september 2016 12:29 To: Anders Widell; Zoran Milinkovic; A V Mahesh; Neelakanta Reddy; opensaf-devel

Re: [devel] [PATCH 0 of 1] Review Request for imm: Remove the poll timeout in IMM testcases [#1970]

2016-09-02 Thread Zoran Milinkovic
, IMM test or because of external interference. Anyway, I ack the patch because it's a very nice solution for improving IMM test code. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 26 augusti 2016 08:32 To: Zoran Milinkovic

Re: [devel] [PATCH 1 of 1] imm: Remove pthread_exit from IMM test [#1973]

2016-09-02 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 26 augusti 2016 12:45 To: Zoran Milinkovic; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 1 of 1] imm: Remove pthread_exit from

Re: [devel] Immnd: maximum Ccbs limit 10000 has been reached very quickly

2016-09-02 Thread Zoran Milinkovic
IMM performance. Or we can revert the ticket and implement it in the next release with better performance. I would also like to hear Neelakanta's and Hung's proposals. Thanks, Zoran -Original Message- From: A V Mahesh [mailto:mahesh.va...@oracle.com] Sent: den 2 september 2016 05:56 To: Z

Re: [devel] Immnd: maximum Ccbs limit 10000 has been reached very quickly

2016-09-01 Thread Zoran Milinkovic
Hi Neelakanta, This is definitely a bug. When CCB is finalized, it's still shown as an active CCB. If you check number of CCBs with resource display functionality, you will see that number of CCBs is not decreasing. BR, Zoran -Original Message- From: Neelakanta Reddy

Re: [devel] Immnd: maximum Ccbs limit 10000 has been reached very quickly

2016-09-01 Thread Zoran Milinkovic
...@oracle.com] Sent: den 1 september 2016 07:29 To: opensaf-devel@lists.sourceforge.net Cc: Zoran Milinkovic Subject: Immnd: maximum Ccbs limit 1 has been reached very quickly Hi All, I was running `immcfg` in a loop to create some object , once it reaches 10001objects creation Immnd is returning

Re: [devel] staging changeset: 7982 with gcc version 4.8.3 build failed

2016-08-31 Thread Zoran Milinkovic
, and will not abort CLM test. We can create a macro with Hans proposal and use it when system() is called. Thanks, Zoran -Original Message- From: Hans Nordebäck Sent: den 31 augusti 2016 13:33 To: Mathivanan Naickan Palanivelu; Venkata Mahesh Alla; Zoran Milinkovic Cc: opensaf-devel

Re: [devel] staging changeset: 7982 with gcc version 4.8.3 build failed

2016-08-31 Thread Zoran Milinkovic
you mean ? Thanks, Zoran -Original Message- From: A V Mahesh [mailto:mahesh.va...@oracle.com] Sent: den 30 augusti 2016 10:40 To: Hans Nordebäck; Zoran Milinkovic Cc: praveen malviya; opensaf-devel@lists.sourceforge.net Subject: Re: [devel] staging changeset: 7982 with gcc version 4.8.3

Re: [devel] [PATCH 0 of 1] Review Request for imm: Add AdmReqContinuation only when fevs message is successfully forwarded [#1977]

2016-08-31 Thread Zoran Milinkovic
Hi Hung, Reviewed the patch. Ack. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 29 augusti 2016 12:47 To: Zoran Milinkovic; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 0 of 1] Review Request

<    1   2   3   4   5   6   7   >