Whamcloud - gitweb
LU-56 lnet: move "match" functions to lib-ptl.c
authorLiang Zhen <liang@whamcloud.com>
Mon, 28 May 2012 06:40:00 +0000 (14:40 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jun 2012 13:22:08 +0000 (09:22 -0400)
commited22093b2d569fd0e93f35504580171114bf212d
treef60b84ac3e44bfb3e661b7090924c7271f8bb56c
parent2edfe26a32aece2b1467aebf7afe0be621eb7b02
LU-56 lnet: move "match" functions to lib-ptl.c

This is still an intermediate patch for LNet SMP improvements,
it covered a few things:
- create a new file lib-ptl.c, all functions about portals
  are moved into this file.
- always precreate match hash-table for all portals, it's a little
  wasty for unique-portal, but it will save a lot of problems for
  upcoming patches
- instead of storing all portals in contiguous buffer, we allocate
  memory for each portal in turn, this change is also for upcoming
  patches.

Signed-off-by: Liang Zhen <liang@whamcloud.com>
Change-Id: I19e61c7f3a01f1c90a9f3f78d48d81dc00cd037d
Reviewed-on: http://review.whamcloud.com/2926
Tested-by: Hudson
Reviewed-by: Doug Oucharek <doug@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/lnet/Makefile.in
lnet/lnet/api-ni.c
lnet/lnet/autoMakefile.am
lnet/lnet/lib-md.c
lnet/lnet/lib-me.c
lnet/lnet/lib-move.c
lnet/lnet/lib-ptl.c [new file with mode: 0644]