Whamcloud - gitweb
LU-56 lnet: Partitioned LNet networks
authorLiang Zhen <liang@whamcloud.com>
Wed, 13 Jun 2012 12:37:39 +0000 (20:37 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 Jun 2012 03:59:16 +0000 (23:59 -0400)
commita07e9d350b3e500c7be877f6dcf54380b86a9cbe
tree56f4440eca9614c948a23084a634881e51d10b0a
parent41ad74ca9cde9926ce16cc1a8e1b1e56fb5ee6b0
LU-56 lnet: Partitioned LNet networks

We have implemented partitioned LNet sources (MD/ME/EQ),
This patch created partitioned data for other LNet objects:
- Peer-tables
  Peers are hashed into peer-table on different partitions by NID
- NI refcount and message queue
  NI will have refcount and message queue for each partition
- counters for each partition

These objects are protected by percpt lock lnet_t::ln_net_lock,
which replaced the original LNET_LOCK

Signed-off-by: Liang Zhen <liang@whamcloud.com>
Change-Id: I7c8c1359aca04a7f859672ccd3268f0282505dd5
Reviewed-on: http://review.whamcloud.com/3113
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Doug Oucharek <doug@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
12 files changed:
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/lnet/acceptor.c
lnet/lnet/api-ni.c
lnet/lnet/config.c
lnet/lnet/lib-eq.c
lnet/lnet/lib-move.c
lnet/lnet/lib-msg.c
lnet/lnet/module.c
lnet/lnet/peer.c
lnet/lnet/router.c
lnet/lnet/router_proc.c