Whamcloud - gitweb
LU-10026 csdc: DoM pattern could be a combined value 78/51978/5
authorBobi Jam <bobijam@whamcloud.com>
Thu, 17 Aug 2023 17:00:03 +0000 (01:00 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 6 Sep 2023 06:22:23 +0000 (06:22 +0000)
commitbb0cc84fbed51e006bfac230dada426bfac4f500
treeef54f4006e498f32d29a699a255a77e50e8f5719
parent7d8a15fbf86811e5ba71b1b35b2d829e231f08de
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
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51978
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
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