Whamcloud - gitweb
LU-18357 ptlrpc: Add fileset ID handling on the nodemap IAM 27/57527/7
authorMarc Vef <mvef@whamcloud.com>
Thu, 19 Dec 2024 15:02:35 +0000 (16:02 +0100)
committerOleg Drokin <green@whamcloud.com>
Fri, 28 Feb 2025 08:11:47 +0000 (08:11 +0000)
commit2b8dca3fa31ef47c6131e4f9a7f99ee6ceabb62a
tree07a31601099fa295bd6f89bf3eeab8257161ef43
parent3277457b898c3eed62e3be3fb00970e49baaf445
LU-18357 ptlrpc: Add fileset ID handling on the nodemap IAM

For handling multiple filesets in the nodemap's IAM cluster idx space,
the cluster idx subids must be associated with a fileset id and vice
versa. This allows to place fileset fragments in the correct subid
range and to assign retrieved fragments to the correct fileset.

This patch adds these calculations for a single fileset with the work
for multiple alternate filesets pending.

Test-Parameters: trivial testlist=sanity-sec
Signed-off-by: Marc Vef <mvef@whamcloud.com>
Change-Id: I7bef5218ebb38d57d0e3aa6aab499111733eaef7
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57527
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
lustre/include/uapi/linux/lustre/lustre_disk.h
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nodemap_internal.h
lustre/ptlrpc/nodemap_storage.c