On Tue, Sep 14, 2010 at 03:50:52PM -0700, Sunil Mushran wrote:
> +     if (o2hb_global_heartbeat_active()) {
> +             spin_lock_irqsave(&o2hb_live_lock, flags);
> +             if (test_bit(reg->hr_region_num, o2hb_quorum_region_bitmap))
> +                     set_bit(reg->hr_region_num, o2hb_failed_region_bitmap);
> +             failed = o2hb_pop_count(&o2hb_failed_region_bitmap,
> +                                     O2NM_MAX_REGIONS);
> +             quorum = o2hb_pop_count(&o2hb_quorum_region_bitmap,
> +                                     O2NM_MAX_REGIONS);
> +             spin_unlock_irqrestore(&o2hb_live_lock, flags);
> +
> +             printk(KERN_NOTICE "Number of regions %d, failed regions %d\n",
> +                    quorum, failed);

        This is not worth printing.  Quorum fired, so we know what
happened.

Joel

-- 

"The whole problem with the world is that fools and fanatics are always
 so certain of themselves, and wiser people so full of doubts."
        - Bertrand Russell

Joel Becker
Consulting Software Developer
Oracle
E-mail: [email protected]
Phone: (650) 506-8127

_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to