Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI devel] openib btl_openib_async_thread poll question
From: Terry Dontje (terry.dontje_at_[hidden])
Date: 2010-12-21 11:11:50


After further inspection I saw that events is being set to POLLIN only.
Is that suppose to mask out any other bits from being set (like
POLLRDNORM)?

--td
On 12/21/2010 10:35 AM, Terry Dontje wrote:
> We're doing some testing with openib btl on a system with Solaris. It
> looks like Solaris can return POLLIN|POLLRDNORM in revents from a poll
> call. I looked at the manpages for Linux and it reads like Linux
> could possibly do this too. However the code in
> btl_openib_async_thread that checks for valid revents is only checking
> for POLLIN and in the case it gets POLLIN|POLLRDNORM the btl ends up
> throwing an error. I think erroring out on the POLLIN|POLLRDNORM case
> is a bug.
>
> Does anyone feel otherwise and can explain to me why we should not
> consider POLLIN|POLLRDNORM as a valid condition? I have the same
> question pertaining to POLLRDBAND too but I don't believe we've seen
> this set.
>
> thanks,
> --
> Oracle
> Terry D. Dontje | Principal Software Engineer
> Developer Tools Engineering | +1.781.442.2631
> Oracle *- Performance Technologies*
> 95 Network Drive, Burlington, MA 01803
> Email terry.dontje_at_[hidden] <mailto:terry.dontje_at_[hidden]>
>
>
>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

-- 
Oracle
Terry D. Dontje | Principal Software Engineer
Developer Tools Engineering | +1.781.442.2631
Oracle *- Performance Technologies*
95 Network Drive, Burlington, MA 01803
Email terry.dontje_at_[hidden] <mailto:terry.dontje_at_[hidden]>



picture
picture