Whamcloud - gitweb
LU-17108 nodemap: make map_mode available for default nm 35/52535/2
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 11 Sep 2023 15:31:09 +0000 (17:31 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 13 Nov 2023 02:06:28 +0000 (02:06 +0000)
commit24b55e7c8b153f9dfc04ec4cc428bd613ebdec69
treeb20992681e8ac9fa4443eec36aa54384cce77aaf
parent4d9e0c53c81c31d3415aff2caa43098e0ded1a38
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: d9df39505530c5f224427103290b60828c11e81c

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I16a2f5cfda11a8435b56a00f3e97bdc70741c156
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52535
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/nodemap_lproc.c