From f38e1c02868eeb001f6fbf23559880aa42b751f7 Mon Sep 17 00:00:00 2001 From: zhanghc Date: Mon, 19 Oct 2009 05:41:51 +0000 Subject: [PATCH] b=19069 increase the count of nidstrings to reduce the chance of reusing the same buffer while it is being used i=johann@sun.com i=zhen.liang@sun.com --- lnet/libcfs/nidstrings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnet/libcfs/nidstrings.c b/lnet/libcfs/nidstrings.c index 048c23b..8e66a8a 100644 --- a/lnet/libcfs/nidstrings.c +++ b/lnet/libcfs/nidstrings.c @@ -64,7 +64,7 @@ * between getting its string and using it. */ -#define LNET_NIDSTR_COUNT 128 /* # of nidstrings */ +#define LNET_NIDSTR_COUNT 1024 /* # of nidstrings */ #define LNET_NIDSTR_SIZE 32 /* size of each one (see below for usage) */ static char libcfs_nidstrings[LNET_NIDSTR_COUNT][LNET_NIDSTR_SIZE]; -- 1.8.3.1