[openib-general] [PATCH] osm: handle local events

Sasha Khapyorsky sashak at voltaire.com
Fri Aug 25 11:17:59 PDT 2006


On 07:58 Fri 25 Aug     , Greg Lindahl wrote:
> On Fri, Aug 25, 2006 at 05:17:04PM +0300, Sasha Khapyorsky wrote:
> 
> > So more generic question: some application performs blocked read() from
> > /dev/umadN, should this read() be interrupted and return error (with
> > appropriate errno value), then the port state becomes DOWN?
> 
> Iif the SM gets a signal (alarm timeout) and the read() is interrupted
> with errno=EINTR... presumably this is not the case you had in mind.

Right, not this case, I'm not about signals. By "interrupted" I meant
that read() returns error.

Sasha

> 
> -- greg
> 
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> 




More information about the general mailing list