Whamcloud - gitweb
LU-13602 flr: skip unknown FLR component types 13/39513/8
authorQian Yingjin <qian@ddn.com>
Mon, 27 Jul 2020 03:56:22 +0000 (11:56 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 22 Jan 2021 20:14:28 +0000 (20:14 +0000)
commit61a002cd8631ecd35a0326dba68f0eb6e48dc44f
tree2638422ca325c3d2520531c6a6185707f9b4e1ef
parent47576dc68cd90068cd5cbd5c889f04531fe6e682
LU-13602 flr: skip unknown FLR component types

Currently, in lov_init_composite() it will quit with error when
reading an unknown LOV pattern.
Since FLR will be used for upcoming new features, like PCC-RO,
an old client should be able to read the old format of the
component types, ignore and skip the new types of FLR component.

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Ica3fe98203d44b52cf25b085c34c83b1a4702464
Reviewed-on: https://review.whamcloud.com/39513
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/lov/lov_cl_internal.h
lustre/lov/lov_ea.c
lustre/lov/lov_internal.h
lustre/lov/lov_io.c
lustre/lov/lov_object.c