Whamcloud - gitweb
LU-18538 ldlm: use bitmap for NS flags 86/57386/5
authorTimothy Day <timday@amazon.com>
Thu, 12 Dec 2024 05:40:32 +0000 (00:40 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 6 Mar 2025 08:05:51 +0000 (08:05 +0000)
commit10f86dc25dd5e428a92348ed082bbbcf6b0cc90f
tree81efc1bfa9082106374258ef4b40553da57d6bb6
parent4c3ddd1b8634c06579a4f4e77d93584076e1c5e1
LU-18538 ldlm: use bitmap for NS flags

Use a bitmap for namespace flags in LDLM. Consolidate two
bit fields into a single bitmap. This is more in line with
Linux kernel style and more correct.

Fixes: 70b9dc5 ("LU-17812 ldlm: stack trace log for LDLM error")
Fixes: 3d4b5da ("LU-11518 ldlm: cancel LRU improvement")
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I50dd21d064147db1a93edb2e582db29c26b1c211
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57386
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_pool.c
lustre/ldlm/ldlm_request.c
lustre/ldlm/ldlm_resource.c
lustre/ptlrpc/import.c