From: zhanghc Date: Mon, 19 Oct 2009 05:41:51 +0000 (+0000) Subject: b=19069 X-Git-Tag: v1_8_2_01~1^5~2 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=f38e1c02868eeb001f6fbf23559880aa42b751f7;p=fs%2Flustre-release.git 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 --- 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];