Whamcloud - gitweb
LU-10948 mdt: New connect flag for non-open-by-fid lock request 07/43907/4
authorOleg Drokin <green@whamcloud.com>
Thu, 3 Jun 2021 00:10:47 +0000 (20:10 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 30 Jun 2021 03:15:39 +0000 (03:15 +0000)
commit72c9a6e5fb6e11fca1b1438ac18f58ff7849ed7d
tree9e511320856245c40beff47bca72a2d7237e7045
parentfc2df80e96dc5db9f3fb710893ccf6f442664471
LU-10948 mdt: New connect flag for non-open-by-fid lock request

While we removed the 2.1 check for open by fid when open
lock is requested, when you talk to old servers that don't
have that patch - they get an open error, so introduce a compat
flag.

Change-Id: I94d50ad98a2828519853a35fa90c5063adf2feab
Fixes: 41d99c4902 ("LU-10948 llite: Introduce inode open heat counter")
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/43907
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/llite/llite_lib.c
lustre/llite/namei.c
lustre/obdclass/lprocfs_status.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c