- **status**: assigned --> accepted


---

** [tickets:#1208] IMM: Update README clarifying that augmented CCBs must be 
kept pure**

**Status:** accepted
**Milestone:** 4.4.2
**Created:** Tue Nov 11, 2014 12:42 PM UTC by Anders Bjornerstedt
**Last Updated:** Mon Dec 08, 2014 06:24 AM UTC
**Owner:** Anders Bjornerstedt

When a ccb augmentation is started by an OI, the IMM server will disable
the OI timer that is normally monitoring an OI callback. The reason for this
is that the OI doing a ccb-augmentation is in eseence an om-client. 

The purpose of the OI timeout is to detect if an OI gets hung for some reson
that does not involve the imm itself. While the OI is doing augment operations
it is using the OM-API that is itself monitored by the IMMA_SYNCR_TIMEOUT.
So the OI can not hang indefinitely on any such ccb augment downcalls. 

But it must be clarified in the README that an OI performing an augmentation 
must avoid doing "other things" than the augmentation operations. It should
stay "pure" and not interleave augmentation operations with other tasks.

Finally there is also a problem in that after an augmentation is completed,
but before the OI callback returns, then no OI timer is restored. 

So an OI that hangs on some other operation inside the callback, but after 
the ccb-augmentation has been closed, will hang for an indefinite time period.
In practice until the either the user closes the handle or the ccb gets aborted
due to an imm-.sync. 

So in addition to the OI keeping the augmentation pure, the OI implementer
should try to do other tasks befor an augmentation, i.e. avoid doing anything
after an augmentation.

This last problem of an OI callback not being timer monitored after the close
of an augmentation is complex/expensive to fix. A fix for this will be done as
an enhancement and tracked by a spearate ticket. 



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to