I applied a slightly different patch to v1.11 (nothing is needed in
master since the discovery logic is different and more generic).
thanks
Brice



Le 28/08/2015 21:53, Tannenbaum, Barry M a écrit :
>
> PCIe drives (like the Intel DC P3500/P3600/P3700) do not have a
> controller – they appear directly on the PCIe bus.
>
>
> support-pcie-disk.patch
>
>
> diff --git a/src/topology-linux.c b/src/topology-linux.c
> --- a/src/topology-linux.c
> +++ b/src/topology-linux.c
> @@ -4656,6 +4656,11 @@
>        /* restore parent path */
>        pathlen -= devicedlen;
>        path[pathlen] = '\0';
> +    } else if (strcmp(devicedirent->d_name, "block") == 0) {
> +      /* found a block device - lookup block class for real */
> +      res += hwloc_linux_class_readdir(backend, pcidev, path,
> +                                       HWLOC_OBJ_OSDEV_BLOCK, "block",
> +                                       hwloc_linux_block_class_fillinfos);
>      }
>    }
>    closedir(devicedir);
>
>
> _______________________________________________
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel
> Link to this post: 
> http://www.open-mpi.org/community/lists/hwloc-devel/2015/08/4581.php

Reply via email to