Whamcloud - gitweb
LU-19079 nodemap: reserve cmds for gss identification 14/59514/7
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 2 Jun 2025 08:41:59 +0000 (10:41 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 23 Jun 2025 04:33:04 +0000 (04:33 +0000)
commit1f8a750e3f591117f6e24952298dbde0cb49ba04
tree8bae3ce02a450336a0936d72e3a56f38741fe08c
parent39f1380c20bde95b7582916d48cd00406f7a6a13
LU-19079 nodemap: reserve cmds for gss identification

Declare 2 new values in enum lcfg_command_type:
LCFG_NODEMAP_GSS_IDENTIFY = 0x00ce065
LCFG_NODEMAP_LOOKUP_SHA = 0x00ce066

LCFG_NODEMAP_GSS_IDENTIFY is for a new nodemap property that would be
named gss_identification. And LCFG_NODEMAP_LOOKUP_SHA is to be able to
lookup a nodemap from the sha256 of its name.

Declare a new value in enum nm_flag2_bits:
NM_FL2_GSS_IDENTIFY = 0x8

This is to store on disk the value of the future gss_identification
property.

Reserve sanity-sec test_79 for testing the gss identification feature.

Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I2e2648f2eeb0956d7cb0793865b3344d1e8ed5a0
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59514
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_cfg.h
lustre/include/uapi/linux/lustre/lustre_disk.h
lustre/ptlrpc/wiretest.c
lustre/tests/sanity-sec.sh
lustre/utils/wirecheck.c
lustre/utils/wiretest.c