Whamcloud - gitweb
LU-11163 libcfs: fix CPT NUMA memory failures 48/32848/6
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 25 Jul 2018 05:36:18 +0000 (23:36 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 Nov 2018 07:17:41 +0000 (07:17 +0000)
commit1ca7f6329833d551f69fd8aec29b66845bedb0c9
tree4e2a62e0d97d3b4bd8f6aae9030079256f67fc94
parent2d3bbce0c9f3170e16eeeeb1cd29d3372d726260
LU-11163 libcfs: fix CPT NUMA memory failures

In some (mis-)configurations, NUMA nodes may not have any local RAM,
or the memory allocations are non-uniform between NUMA nodes.

In the unlikely case that a CPT-bound allocation fails, retry the
allocation without the CPT-binding.  Having some remote memory usage
is better than an allocation failure.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ib0ab84bef8ff10c43bafb48a8082b62fc544ca29
Reviewed-on: https://review.whamcloud.com/32848
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Patrick Farrell <paf@cray.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h