Whamcloud - gitweb
LU-14797 sec: add projid to nodemap
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 29 Jun 2021 15:54:59 +0000 (17:54 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 10 Nov 2021 15:59:45 +0000 (15:59 +0000)
commit491f101042a4db64884ffbd402be75a21464833d
tree9df3b5cfe27b2577cdcec23a08504b1fa9b199c4
parent8276dca33d34ec6788e41223e55b185caf4482a4
LU-14797 sec: add projid to nodemap

Add the ability to create id maps of a new type, projid. This also
requires adding a new value to map_mode, projid_only. Finally, a new
property named squash_projid is used to map all project ID to a
default one.
Update lctl man pages to mention these additions.
Update sanity-sec test_12 and test_15 to exercise projid mapping and
squash_projid property.

Lustre-change: https://review.whamcloud.com/44108
Lustre-commit: 8a770616a5ad21360ecba63c3643cadd245a2a50

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I63eba8b0d33feaa7ece8c1788cb587fcb330357a
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/45486
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
18 files changed:
lustre/doc/lctl-nodemap-add-idmap.8
lustre/doc/lctl-nodemap-del-idmap.8
lustre/doc/lctl-nodemap-modify.8
lustre/include/lustre_nodemap.h
lustre/include/uapi/linux/lustre/lustre_cfg.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_llog.c
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nodemap_idmap.c
lustre/ptlrpc/nodemap_internal.h
lustre/ptlrpc/nodemap_lproc.c
lustre/ptlrpc/nodemap_storage.c
lustre/ptlrpc/wiretest.c
lustre/tests/sanity-sec.sh
lustre/utils/obd.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c