Whamcloud - gitweb
LU-5092 nodemap: save nodemaps to targets for caching 03/17503/26
authorKit Westneat <kit.westneat@gmail.com>
Mon, 11 Jul 2016 15:28:08 +0000 (11:28 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 11 Aug 2016 05:50:12 +0000 (05:50 +0000)
commitbe7efb4ce06996444c08914305a73833a7123eeb
treeb8fd64adb820904ffba4893359fea6287929457e
parent279e4dd34e18de0f8ecda61b65d6e0f56f7c9fc8
LU-5092 nodemap: save nodemaps to targets for caching

Modify nodemap config storage to save config to targets as well as
MGSes. This allows targets to start with the last received nodemap
configuration even if the MGS is not available. The config is
replaced by the MGS' config the next time the MGS is available.

Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: I1c5221815618fe0265908bfd900ba55f44d1021b
Reviewed-on: http://review.whamcloud.com/17503
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>
lustre/include/lustre_nodemap.h
lustre/mdd/mdd_device.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_internal.h
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nodemap_internal.h
lustre/ptlrpc/nodemap_storage.c