Whamcloud - gitweb
LU-15671 ost: remove REP_MBITS from OST_CONNECT2_SUPPORTED
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 19 Sep 2023 18:07:26 +0000 (12:07 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 22 Sep 2023 23:51:50 +0000 (23:51 +0000)
Remove the OBD_CONNECT2_REP_MBITS flag from the OST_CONNECT2_SUPPORTED
mask on the OST that was accidentally included in a backported patch.
If newer clients that have support for REP_MBITS (e.g. 2.15.x) try to
recover with the 2.14.0-ddn91+ OSS, they will loop endlessly since
they are not exchanging the right information in the replay RPC/reply.

Test-Parameters: trivial
Fixes: b85a12aa73 ("LU-15671 mds: do not send OST_CREATE transno interop")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I6bef75900f8efdb8a1e35545a86c580a68f9ddc8
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52417
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_idl.h

index c4082f4..6da3c29 100644 (file)
@@ -961,7 +961,6 @@ struct ptlrpc_body_v2 {
 
 #define OST_CONNECT_SUPPORTED2 (OBD_CONNECT2_LOCKAHEAD | OBD_CONNECT2_INC_XID |\
                                OBD_CONNECT2_ENCRYPT | OBD_CONNECT2_LSEEK | \
-                               OBD_CONNECT2_REP_MBITS |\
                                OBD_CONNECT2_REPLAY_CREATE)
 
 #define ECHO_CONNECT_SUPPORTED (OBD_CONNECT_FID)