Whamcloud - gitweb
LU-10026 csdc: DoM pattern could be a combined value 78/51978/4
authorBobi Jam <bobijam@whamcloud.com>
Thu, 17 Aug 2023 17:00:03 +0000 (01:00 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 30 Aug 2023 00:30:03 +0000 (00:30 +0000)
commitdc654837688fc90320601ec12be140b413b044b2
tree95aa0a92eafc84e1831ca5699973e7ed7a48e8fb
parent33e4d86a480b860e0a3b4b51c7c6da6ec0159e51
LU-10026 csdc: DoM pattern could be a combined value

DoM pattern is LOV_PATTERN_MDT for now, and in the future it could
be combined with LOV_PATTERN_COMPRESS to represent a compressed
DoM component.

Fix a minor glitch for lov_getstripe_old code path (in
ll_lov_getstripe_ea_info), which intends to return the last component
stripe info but the commit abf04e7ea3 omits to correctly set the
last component stripe info before using it.

Fixes: abf04e7ea3 ("LU-14337 lov: return valid stripe_count/size for PFL files")
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: Id0779c30c004b6979f88bf96b7b7b74a8b8c26e4
13 files changed:
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/lfsck/lfsck_layout.c
lustre/llite/file.c
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/lod/lod_qos.c
lustre/lov/lov_cl_internal.h
lustre/lov/lov_ea.c
lustre/lov/lov_internal.h
lustre/mdd/mdd_object.c
lustre/mdt/mdt_handler.c
lustre/utils/liblustreapi.c
lustre/utils/liblustreapi_layout.c