Whamcloud - gitweb
LU-17431 utils: adapt dynamic use in nodemap_cmd 00/55000/2
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 30 Apr 2024 16:08:22 +0000 (18:08 +0200)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 May 2024 04:46:36 +0000 (04:46 +0000)
commitb2ae97eab891ee61d9287eb2244d0b707d98ff95
tree3b0c6fb3c0ec2790ed49499ae9b01be9408577c7
parent9dd8cb7bc8edb69b271e29127e9af3074a2d8670
LU-17431 utils: adapt dynamic use in nodemap_cmd

In nodemap_cmd(), try to detect if we are running on an MGS
before using the dynamic parameter.

Test-Parameters: trivial
Fixes: fecc3bd4e2 ("LU-17431 utils: add 'dynamic' parameter to nodemap_cmd")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I63a727491c839e457e44eaf1f4b4d11b164fd8b4
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55000
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/obd.c