http://defect.opensolaris.org/bz/show_bug.cgi?id=12479


Michael Hunter <michael.hunter at sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.hunter at sun.com


--- Comment #4 from Michael Hunter <michael.hunter at sun.com> 2009-11-05 
20:08:03 UTC ---
(In reply to comment #1)
> We've got a general problem here in that state change events can be 
> interleaved
> with other events in ways that lead to information loss, but in this specific
> case, we make a specific decision to ignore the LINK_STATE event when the NCU
> is online that seems wrong. I suspect the reason we ignore such events is to
> avoid extraneous state changes, but there may be a deeper reason. If not we
> just need to remove the following check from
> nwamd_ncu_handle_link_state_event(): 
[...]

The problem is deeper.  We make decision based on current state (is it online
now?) that effect changes we would do in the future (don't enqueue the
offline->online event).  Filtering needs to be done when the actual decisions
are made not when the event is getting enqueued.

I think in the long run we should be moving towards external events being
queued (link state changes) but internal changes be immediate (object state
changes).

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Reply via email to