Whamcloud - gitweb
LU-17431 nodemap: add function to know if nodemap is on MGS 06/54506/8
authorSebastien Buisson <sbuisson@ddn.com>
Wed, 20 Mar 2024 08:33:11 +0000 (09:33 +0100)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Apr 2024 06:54:49 +0000 (06:54 +0000)
commitc5d08e0af6ce819b818a0d9917a41d99899bab67
tree899cee05da5d0642685afc68834a477ed5a072d9
parent0f7cdfe3f84a8b90d0546d989587f6ec703bd6a2
LU-17431 nodemap: add function to know if nodemap is on MGS

Adding nodemap_mgs() function allows to know if nodemaps are defined
on an MGS node (pointer to a nodemap config file) or not.

Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Id87e34dd8d13cd21c88c87ef9e8e91ff9ff142c8
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54506
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/nodemap_internal.h
lustre/ptlrpc/nodemap_storage.c