Whamcloud - gitweb
LU-16049 llite: struct cleanup and option ordering 15/58515/3
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 21 Mar 2025 23:09:03 +0000 (17:09 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 10 Apr 2025 06:58:48 +0000 (06:58 +0000)
commita90bf7aaf224786a4c61c0f0418733086ee29f01
tree356da1b8fa5f652f7b8cae71f5d758b5d9892506
parentf8a22b656dd6bc8cb9cd0bca464ffe6d3cc74fc0
LU-16049 llite: struct cleanup and option ordering

Reorder some fields in struct ll_file_data and ll_inode_info to
remove holes to save space in these commonly-used structures.
Rename struct ll_file_data ll_lock_no_expand->lfd_lock_no_expand.

Alphabetize LL_SBI_ enum to be in alphabetical order (by option
type) so that it is easier to find options, and to deconflict
future field insertions so that they are not always at the end.
These values are only used in memory on the client.

Partly alphabetize the llite_attrs table to make it easier to
find entries, and deconflict future field insertions.  Not fully
ordered to avoid conflicts with in-flight patches.

There should not be any functional changes in this patch.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I8b58e59bc7e5d4ab7422303edcac0036c82540e5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58515
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c