Whamcloud - gitweb
LU-1904 idl: add checks for OBD_CONNECT flags 53/48053/2
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 28 May 2021 08:49:19 +0000 (02:49 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 1 Sep 2022 05:54:46 +0000 (05:54 +0000)
commitd851381ea6947244842ae6f138cd0bfd399b7ef4
tree079c4f16edb9870349a4796aa68e7cf050a7c232
parent155cbc22ba4f758cf9eec415f36f940ca2b23de9
LU-1904 idl: add checks for OBD_CONNECT flags

Make it harder to accidentally declare OBD_CONNECT flags without
properly defining their names.  Otherwise, this can cause serious
compatibility problems if two features are using the same flag.

Add the definition lines into spelling.txt so there is *always*
a warning generated, since this always needs proper attention.

Make it clear whom to contact when reserving a new feature flag.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I9a5e2c97c40c39ea57d20979d4b130854edc785a
Reviewed-on: https://review.whamcloud.com/48053
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
contrib/scripts/spelling.txt
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/obdclass/lprocfs_status.c