[Pkg-ofed-commits] [libfabric] 69/123: fabric: Ignore provider errors in fi_getinfo

Ana Beatriz Guerrero López ana at moszumanska.debian.org
Sat Oct 22 12:28:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

ana pushed a commit to annotated tag v1.1.1
in repository libfabric.

commit 48441090353b81b639fda0615f91ffc3f2ac31a9
Author: Sean Hefty <sean.hefty at intel.com>
Date:   Wed Sep 16 10:00:59 2015 -0700

    fabric: Ignore provider errors in fi_getinfo
    
    A provider error can end up preventing other providers from
    reporting results.  Although the original intent was to
    report unexpected errors back to the app, minor bugs in the
    providers can result in the app not seeing anything.
    
    Instead, log errors and skip providers that have issues.
    
    Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---
 src/fabric.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/fabric.c b/src/fabric.c
index 31590ac..5eacb1c 100644
--- a/src/fabric.c
+++ b/src/fabric.c
@@ -490,14 +490,7 @@ int DEFAULT_SYMVER_PRE(fi_getinfo)(uint32_t version, const char *node, const cha
 			FI_WARN(&core_prov, FI_LOG_CORE,
 			       "fi_getinfo: provider %s returned -%d (%s)\n",
 			       prov->provider->name, -ret, fi_strerror(-ret));
-			if (ret == -FI_ENODATA) {
-				continue;
-			} else {
-				/* a provider has an error, clean up and bail */
-				fi_freeinfo(*info);
-				*info = NULL;
-				return ret;
-			}
+			continue;
 		}
 
 		if (!*info)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/libfabric.git



More information about the Pkg-ofed-commits mailing list