Whamcloud - gitweb
LU-18247 nodemap: initialize unused fields on disk 50/56450/5
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 21 Sep 2024 20:42:57 +0000 (14:42 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Oct 2024 06:20:26 +0000 (06:20 +0000)
commit2a5e8e355498d432d9c4bb5cd34c513b9f3a1752
tree0f6e990196f6357ef2c20e893af6440820a966c6
parent6fe522d3d4f92aa2a48a573419f4590b10ef13d3
LU-18247 nodemap: initialize unused fields on disk

Initialize the unused fields in the on-disk nodemap records to zero.
This will allow them to be used in the future for expanded nodemap
functionality.

It may be that initial usage will also depend on storing a magic
into one of the fields so that the rest of the fields can be trusted.

Test-Parameters: trivial testlist=sanity-sec
Test-Parameters: testlist=sanity-quota
Test-Parameters: testlist=sanity-selinux
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I58f46396911e28f91e03a287c5b308dcaf3ebbe5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56450
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Maximilian Dilger <mdilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_disk.h
lustre/ptlrpc/nodemap_storage.c
lustre/ptlrpc/wiretest.c
lustre/tests/sanity-sec.sh
lustre/utils/wirecheck.c
lustre/utils/wiretest.c