Whamcloud - gitweb
LU-11912 fid: clean up OBIF_MAX_OID and IDIF_MAX_OID 59/45659/17
authorLi Dongyang <dongyangli@ddn.com>
Tue, 23 Nov 2021 23:45:48 +0000 (10:45 +1100)
committerOleg Drokin <green@whamcloud.com>
Fri, 17 Feb 2023 02:23:24 +0000 (02:23 +0000)
commitbb2f0dac868cf1321277bc3d7d6fc71f016d921b
treee69c499fca5af621a5bedb3dfd2cfc653c5d72fd
parenteed4d4c7523c26cfc5bc230986d96b2acf152dee
LU-11912 fid: clean up OBIF_MAX_OID and IDIF_MAX_OID

Define the OBIF|IDIF_MAX_OID macros to 1ULL << OBIF|IDIF_MAX_BITS - 1
Clean up the callers and remove OBIF|IDIF_OID_MASK which are not used.

Test-Parameters: trivial
Change-Id: I9a679b930c73da5904b2eb4c74f785fc1d27a8a0
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/45659
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_fid.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/include/uapi/linux/lustre/lustre_ostid.h
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_io.c
lustre/ofd/ofd_objects.c
lustre/utils/obd.c