[Linux-ha-dev] LRM: Call_id not available for status ops

Huang Zhen zhenhltc at cn.ibm.com
Sat Oct 9 21:16:55 MDT 2004


Andrew Beekhof wrote:
> I'm noticing that call_id (aka. the return from rsc->ops->perform_op() ) 
> is less than 0 for status operations... this doesnt seem right to me and 
> makes it hard to stop them later on.
> 
> Can you guys check into whats going on and if its all working as you 
> expect it, maybe suggest what i'm doing wrong (do_lrm_rsc_op() in 
> crm/crmd/lrm.c) .
> 
crm/crmd/lrm.c:
489                  monitor_call_id = rsc->ops->perform_op(rsc, op);
490                  if (monitor_call_id < 0) {
This line should be "if (monitor_call_id > 0) {" ?

491                         g_hash_table_insert(

> Andrew'
> 


-- 

Best Regards,
Huang Zhen
LTC and pLinux Testing
IBM China Software Development Lab, Beijing
Telno: (8610)82782244-2845





More information about the Linux-HA-Dev mailing list