Whamcloud - gitweb
LU-17108 nodemap: make map_mode available for default nm
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 11 Sep 2023 15:31:09 +0000 (17:31 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 14 Sep 2023 07:26:31 +0000 (07:26 +0000)
commit317bc328496caf8359f9bec4de55e33758c0c92e
tree4492db054958dfd4a09c3f61d03874baab51e30a
parent7ebaa9c8b99d0dae78002d87ce51ad3b1c06e23f
LU-17108 nodemap: make map_mode available for default nm

The map_mode property lets control the way mapping is carried out. It
is already available on regular nodemaps, to decide whether uids, gids
and/or projids will be mapped.
On the default nodemap, where it is not possible to define mappings,
the map_mode property will be taken into account when trusted is 0 and
deny_unknown is 0. Unmapped IDs will be left unchanged.

Lustre-change: https://review.whamcloud.com/52336
Lustre-commit: TBD (from 613ca001049887b1dc0cb2501f566c263ff7a006)

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I16a2f5cfda11a8435b56a00f3e97bdc70741c156
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52337
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ptlrpc/nodemap_lproc.c