Whamcloud - gitweb
LU-13465 mgs: re-introduce mgs_set_info for interop purpose 11/38311/4
authorSebastien Buisson <sbuisson@ddn.com>
Wed, 22 Apr 2020 13:54:53 +0000 (22:54 +0900)
committerOleg Drokin <green@whamcloud.com>
Thu, 7 May 2020 05:45:31 +0000 (05:45 +0000)
commit5501c414dc13a01004825a532079cbb21a036cc4
tree90aab7d8757dcc43fe8f714b641e3afa173cce6f
parent8bbcfedcba1d5e4401bcfd8e60936efea262d562
LU-13465 mgs: re-introduce mgs_set_info for interop purpose

Older clients might send MGS_SET_INFO requests to the MGS. Newer MGS
needs to handle that gracefully by returning:
- -EINVAL for anything other than lov.stripe*
- 0 for those parameters without doing anything, rather than
  returning -ENOTSUPP.

Test-Parameters: clientversion=2.12 envdefinitions=SANITY_EXCEPT="27M 56ra 151 156 802"
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Iba75c788eaefabd98bbb65a657f9a0150e20fafb
Reviewed-on: https://review.whamcloud.com/38311
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/mgs/mgs_handler.c
lustre/ptlrpc/layout.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c