Whamcloud - gitweb
LU-7846 nodemap: add fileset info to nodemap 83/18783/14
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 5 Feb 2016 15:44:40 +0000 (16:44 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 2 Jun 2016 04:42:14 +0000 (04:42 +0000)
commit25420c75e45a91c6131d52a674869d6d30ab36bf
tree3a8c921cb367e424554924b6571bb500f84c5e4f
parent5d9275e2784942266f2c9cd03f9ad2f17fba0af4
LU-7846 nodemap: add fileset info to nodemap

Give the ability to set a fileset information on a nodemap.
When set, a client pertaining to this nodemap will be allowed to
mount only the subdirectory represented by this fileset.

Fileset info of nodemap is stored permanently by using
'lctl set_param -P' commands. It means MDS and OSS will be able to
retrieve fileset info of nodemap after a restart (when they read
params llog).
MGS will not see fileset info after restart, but this does not prevent
the feature from working.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: Ic16abaeb0b2fe583a9a4745258a82bbd23fc259e
Reviewed-on: http://review.whamcloud.com/18783
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_cfg.h
lustre/include/lustre_nodemap.h
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_llog.c
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nodemap_lproc.c
lustre/utils/lctl.c
lustre/utils/obd.c
lustre/utils/obdctl.h