Whamcloud - gitweb
LU-18114 nodemap: split "lctl nodemap_*" group into subcommands 07/56207/10
authorEmoly Liu <emoly@whamcloud.com>
Sat, 8 Feb 2025 07:30:01 +0000 (15:30 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 22 Feb 2025 23:41:23 +0000 (23:41 +0000)
commit75116202aa1977d0f94f05e2406cecfd24356124
treeaefcda66d1fac6779355959e9a42d0c9eeb00064
parentd0a47cd7704cbd6fa8723e08f494880b83a68078
LU-18114 nodemap: split "lctl nodemap_*" group into subcommands

Split "lctl nodemap_*" command group into subcommands, e.g.
"lctl nodemap_add" to "lctl nodemap add". And "lctl nodemap_*"
commands in sanity-sec.sh are modified to verify this patch.

Also, the old man pages are modified to reflect the new command
format, and the new man page references for lctl-nodemap_xxx.8 are
added to match the old ones.

Test-Parameters: testlist=sanity-sec

Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: I165583d95f4a850ce2461c15c56583d64077ef16
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56207
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: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Marc Vef <mvef@whamcloud.com>
27 files changed:
lustre/doc/Makefile.am
lustre/doc/lctl-nodemap-activate.8
lustre/doc/lctl-nodemap-add-idmap.8
lustre/doc/lctl-nodemap-add-offset.8
lustre/doc/lctl-nodemap-add-range.8
lustre/doc/lctl-nodemap-add.8
lustre/doc/lctl-nodemap-del-idmap.8
lustre/doc/lctl-nodemap-del-offset.8
lustre/doc/lctl-nodemap-del-range.8
lustre/doc/lctl-nodemap-del.8
lustre/doc/lctl-nodemap-modify.8
lustre/doc/lctl-nodemap-set-fileset.8
lustre/doc/lctl-nodemap-set-sepol.8
lustre/doc/lctl-nodemap_activate.8 [new file with mode: 0644]
lustre/doc/lctl-nodemap_add.8 [new file with mode: 0644]
lustre/doc/lctl-nodemap_add_idmap.8 [new file with mode: 0644]
lustre/doc/lctl-nodemap_add_offset.8 [new file with mode: 0644]
lustre/doc/lctl-nodemap_add_range.8 [new file with mode: 0644]
lustre/doc/lctl-nodemap_del.8 [new file with mode: 0644]
lustre/doc/lctl-nodemap_del_idmap.8 [new file with mode: 0644]
lustre/doc/lctl-nodemap_del_offset.8 [new file with mode: 0644]
lustre/doc/lctl-nodemap_del_range.8 [new file with mode: 0644]
lustre/doc/lctl-nodemap_modify.8 [new file with mode: 0644]
lustre/doc/lctl-nodemap_set_fileset.8 [new file with mode: 0644]
lustre/doc/lctl-nodemap_set_sepol.8 [new file with mode: 0644]
lustre/tests/sanity-sec.sh
lustre/utils/lctl.c