Whamcloud - gitweb
LU-17431 nodemap: modify all properties of a dynamic nm 88/58088/6
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 14 Feb 2025 16:41:54 +0000 (17:41 +0100)
committerOleg Drokin <green@whamcloud.com>
Thu, 10 Apr 2025 06:51:19 +0000 (06:51 +0000)
commit976a14cd8c5c805b10294a921eec7a943d80bf47
tree1ff7541a1ed9bd7bd55148c3ec4912804512f0d1
parent66b196a022349f05f365744ecec7fafe8833fe2d
LU-17431 nodemap: modify all properties of a dynamic nm

All properties of a dynamic nodemap must be taken into account. So
move the check for dynamic in nodemap_idx_* functions, except for
nodemap_activate which is independent of any nodemap.
Update sanity-sec test_72 to correctly exercise this.

Fixes: db818bd040 ("LU-17431 nodemap: allow modifying properties of a dynamic nm")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I5fb7877669fdf7689b1be1f065006644f0a3f15c
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58088
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Marc Vef <mvef@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_nodemap.h
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nodemap_internal.h
lustre/ptlrpc/nodemap_lproc.c
lustre/ptlrpc/nodemap_storage.c
lustre/tests/sanity-sec.sh