X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Fklnds%2Fo2iblnd%2Fo2iblnd.c;h=46f7007b8fa3d8ae302e7a81125351421ffe93a5;hp=35a613298524579178de4d725474094483e09ec8;hb=d3972843ae3ba829f821bd135d5ba97d4b0356f3;hpb=e6d5d5508231fca83cb306af69a877a7101de37a diff --git a/lnet/klnds/o2iblnd/o2iblnd.c b/lnet/klnds/o2iblnd/o2iblnd.c index 35a6132..46f7007 100644 --- a/lnet/klnds/o2iblnd/o2iblnd.c +++ b/lnet/klnds/o2iblnd/o2iblnd.c @@ -2147,6 +2147,8 @@ kiblnd_create_tx_pool(kib_poolset_t *ps, int size, kib_pool_t **pp_po) if (tx->tx_frags == NULL) break; + sg_init_table(tx->tx_frags, IBLND_MAX_RDMA_FRAGS); + LIBCFS_CPT_ALLOC(tx->tx_wrq, lnet_cpt_table(), ps->ps_cpt, (1 + IBLND_MAX_RDMA_FRAGS) * sizeof(*tx->tx_wrq));