On 10:17 Fri 06 Mar , Nicolas Morey Chaisemartin wrote: > When opensm is called after a pipe to execute a command in the local console, > it uses 100% CPU as osm_console poll returns (POLLIN) as if there was > something to read from stdin where there isn't. > > This patch fixes the problem by closing the local console when POLLHUP is > received. > osm_console will return an error code which will unset the console_init_flag > so it won't be reopened. > For socket console, cio_close is called to close the current connection but > keep the socket open. > > Signed-off-by: Nicolas Morey-Chaisemartin > <[email protected]>
Applied. Thanks. Sasha _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
