Commit 169c3cd0 authored by Jim Harris's avatar Jim Harris
Browse files

thread: set SPDK_CONFIG_MAX_NUMA_NODES to 1 if not defined



configure script will set this correctly when it is run, but this
helps users who pull latest code but don't regularly re-run
configure after doing so.

Signed-off-by: default avatarJim Harris <jim.harris@samsung.com>
Change-Id: I9115a07ca8373ed3b52bc27fad3bbef8ddc5e01b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25382


Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
parent cab1decc
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1111,6 +1111,13 @@ struct spdk_iobuf_node_cache {
	struct spdk_iobuf_pool_cache	large;
};

#ifndef SPDK_CONFIG_MAX_NUMA_NODES
/* Set this default temporarily, for users that may pull latest code without
 * re-running configure.
 */
#define SPDK_CONFIG_MAX_NUMA_NODES 1
#endif

/** iobuf channel */
struct spdk_iobuf_channel {
	/** Module pointer */