Whamcloud - gitweb
LU-5092 nodemap: save id maps to targets in new index file 13/11813/31
authorKit Westneat <kit.westneat@gmail.com>
Sat, 19 Sep 2015 13:20:04 +0000 (09:20 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 20 Feb 2016 05:40:20 +0000 (05:40 +0000)
commit928714dddabb2dbc4fc93101f23eaa671099dbea
treed8ca74145f483826f32533697559da89139dda02
parent7d165f5fe357010c3b41abf1163aacb09a88816f
LU-5092 nodemap: save id maps to targets in new index file

Creates a new nodemap index file on registered targets and modifies
it on changes to the nodemaps. On init, the nodemap/idmaps are
loaded into memory from the index file. Currently only the MGS
registers itself.

Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: Ie2b84e25ecc02d5d3daebf268d2f72ffaf142758
Reviewed-on: http://review.whamcloud.com/11813
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
15 files changed:
lustre/include/dt_object.h
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_nodemap.h
lustre/include/obd_target.h
lustre/mgs/mgs_fs.c
lustre/obdclass/dt_object.c
lustre/ptlrpc/Makefile.in
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nodemap_internal.h
lustre/ptlrpc/nodemap_range.c
lustre/ptlrpc/nodemap_storage.c [new file with mode: 0644]
lustre/ptlrpc/wiretest.c
lustre/tests/sanity-sec.sh
lustre/utils/wirecheck.c
lustre/utils/wiretest.c