Whamcloud - gitweb
LU-17431 nodemap: allow handling a nidrange for a dynamic nm 08/54508/18
authorSebastien Buisson <sbuisson@ddn.com>
Wed, 20 Mar 2024 14:45:41 +0000 (15:45 +0100)
committerOleg Drokin <green@whamcloud.com>
Mon, 2 Dec 2024 05:44:38 +0000 (05:44 +0000)
commit257d6f392777fbf76e82304f5bfd61a75db1c76c
tree9efb62ecdbacbece48907527c128ce8bbfac15a1
parentabaa91c12c9bc89a88fa4607accd27aa31900cce
LU-17431 nodemap: allow handling a nidrange for a dynamic nm

Adding or deleting a nid range for a dynamic nodemap, by sending the
appropriate ioctl to the MDS or OSS device.
On kernel side, we need to allow handling a range 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: I34d6bb720cb700e23a3567a47def71c2b1ca7343
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54508
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lctl-nodemap-add-range.8
lustre/ptlrpc/nodemap_handler.c
lustre/tests/sanity-sec.sh
lustre/utils/lctl.c
lustre/utils/obd.c