Whamcloud - gitweb
LU-5092 nodemap: convert member hash to a list 85/14885/12
authorKit Westneat <kit.westneat@gmail.com>
Wed, 1 Jul 2015 13:53:46 +0000 (09:53 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 10 Jul 2015 03:25:29 +0000 (03:25 +0000)
commit1c7f9caa99df3082a3e506673721d359147843d3
tree4e4dde72e54f4af72b20c3a096e7cc6a69ce9a8f
parent8cf860b866005c5907e8e7a0ded92cc481fdb6c3
LU-5092 nodemap: convert member hash to a list

The members of a nodemap were stored in a hash, but they were only
iterated against, not accessed by key. This patch converts the hash
to a list in order to simplify things.

Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: Ic1df4035d1c53a7c7966c4c528d20cefc7258d0e
Reviewed-on: http://review.whamcloud.com/14885
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_export.h
lustre/include/lustre_nodemap.h
lustre/mgs/mgs_handler.c
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nodemap_internal.h
lustre/ptlrpc/nodemap_lproc.c
lustre/ptlrpc/nodemap_member.c