Whamcloud - gitweb
LU-8851 nodemap: add uid/gid only flags to control mapping 53/23853/4
authorKit Westneat <kit.westneat@gmail.com>
Fri, 18 Nov 2016 14:50:02 +0000 (09:50 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 1 May 2017 17:47:56 +0000 (17:47 +0000)
commitf7815c80d95b20c97317fbd7010013dca009121e
tree02ce1c124c804016b49b35162f5e0117555bdd5f
parent7532409b3a0760a74e0bbaa86ecb3a0a2d0d011d
LU-8851 nodemap: add uid/gid only flags to control mapping

This patch adds two flags to nodemaps which control whether or not
the nodemap should map UIDs, GIDs, or both. These flags can be
controlled via lctl as a new nodemap parameter map_mode, with values
both, uid_only, or gid_only.

Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: I3efe6ff348d909c196a89273a0c9c046c56dbf1d
Reviewed-on: https://review.whamcloud.com/23853
Reviewed-by: Chris Hanna <hannac@iu.edu>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Stephan Thiell <sthiell@stanford.edu>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.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/ptlrpc/nodemap_storage.c
lustre/utils/obd.c