Whamcloud - gitweb
LU-17431 nodemap: allow handling an id map for a dynamic nm 09/54509/19
authorSebastien Buisson <sbuisson@ddn.com>
Wed, 20 Mar 2024 15:50:54 +0000 (16:50 +0100)
committerOleg Drokin <green@whamcloud.com>
Sun, 2 Feb 2025 06:22:49 +0000 (06:22 +0000)
commitfb3459589e98169b1af2858abc70fafdf59c313d
treeca83e6304cadde368e10daa9abb72c4d64f11508
parentb4bac86b0cca8788d5d3212805128e29a6c2b400
LU-17431 nodemap: allow handling an id map for a dynamic nm

Adding or deleting an id map for a dynamic nodemap, by sending the
appropriate ioctl to the MDS or OSS device.
On kernel side, we need to allow handling an idmap for a nodemap even
if the nodemap config file is not accessible (i.e. we are not on the
MGS). This dynamic nodemap is not stored on disk.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I055cf1d67b72a6bca5140814c4346ac578f2f31d
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54509
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Marc Vef <mvef@whamcloud.com>
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nodemap_storage.c
lustre/tests/sanity-sec.sh
lustre/utils/lctl.c
lustre/utils/obd.c