X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Fklnds%2Fo2iblnd%2Fo2iblnd_modparams.c;fp=lnet%2Fklnds%2Fo2iblnd%2Fo2iblnd_modparams.c;h=95e72002c1c74599d13faca1ddabe6e60dbf02c6;hp=fda7a4bd2287e9dfb20d89695baba6c32257d65c;hb=21fdd616bd4784e4e3571294ba39f00b24a25806;hpb=44a359caae004bbdae68f12cf69769fd4c1ecf7c diff --git a/lnet/klnds/o2iblnd/o2iblnd_modparams.c b/lnet/klnds/o2iblnd/o2iblnd_modparams.c index fda7a4b..95e7200 100644 --- a/lnet/klnds/o2iblnd/o2iblnd_modparams.c +++ b/lnet/klnds/o2iblnd/o2iblnd_modparams.c @@ -140,13 +140,11 @@ MODULE_PARM_DESC(use_fastreg_gaps, "Enable discontiguous fastreg fragment suppor * the behavior when transmit with GAPS verses contiguous. */ #ifdef HAVE_IB_GET_DMA_MR -#define IBLND_DEFAULT_MAP_ON_DEMAND 0 #define MOD_STR "map on demand" #else -#define IBLND_DEFAULT_MAP_ON_DEMAND 1 #define MOD_STR "map on demand (obsolete)" #endif -static int map_on_demand = IBLND_DEFAULT_MAP_ON_DEMAND; +static int map_on_demand = 1; module_param(map_on_demand, int, 0444); MODULE_PARM_DESC(map_on_demand, MOD_STR);