From: adilger Date: Mon, 29 Nov 2004 18:20:03 +0000 (+0000) Subject: Branch: b1_4 X-Git-Tag: v1_8_0_110~486^5~92 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0b8e4ddcee17fc7ceca4f9300a86ac42d5c7eaaf;p=fs%2Flustre-release.git Branch: b1_4 Don't try to preallocate too many xmit buffers, qsnet doesn't like that. Tested to work on TDEV. b=5291 r=eeb --- diff --git a/lustre/portals/knals/qswnal/qswnal.h b/lustre/portals/knals/qswnal/qswnal.h index b08d710..0b0914e 100644 --- a/lustre/portals/knals/qswnal/qswnal.h +++ b/lustre/portals/knals/qswnal/qswnal.h @@ -99,7 +99,7 @@ typedef unsigned long kqsw_csum_t; #define KQSW_TX_MAXCONTIG (1<<10) /* largest payload that gets made contiguous on transmit */ #define KQSW_NTXMSGS 8 /* # normal transmit messages */ -#define KQSW_NNBLK_TXMSGS 512 /* # reserved transmit messages if can't block */ +#define KQSW_NNBLK_TXMSGS (PAGE_SIZE == 4096 ? 512 : 256) /* # reserved transmit messages if can't block */ /* avoid qsnet crash b=5291 */ #define KQSW_NRXMSGS_LARGE 64 /* # large receive buffers */ #define KQSW_EP_ENVELOPES_LARGE 256 /* # large ep envelopes */