Whamcloud - gitweb
LU-15513 lod: iterate initialized stripe 28/47028/5
authorBobi Jam <bobijam@whamcloud.com>
Mon, 11 Apr 2022 08:46:32 +0000 (16:46 +0800)
committerBobi Jam <bobijam@whamcloud.com>
Wed, 18 May 2022 13:42:07 +0000 (21:42 +0800)
commitb9445c05576da11cc230b290b1ec53131a0e1c2a
treeacc762b4ee03ec3112193b7e1b69b3a9d1c239fa
parent6bac96ed3b4a6bf514e4bd4c9c27c8ad89d627d1
LU-15513 lod: iterate initialized stripe

Fix an array out of bounds access.

Do not iterate over the component objects in lod_fill_mirrors() to
check non-rotational OSTs if the component is unintialized or it is
a MDT or RELEASED component.

Fixes: 591a990c61 ("LU-15513 lod: skip uninit component in lod_fill_mirrors")
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I8530cd30fab750c47f15ee9278ec6d68871367cc
lustre/lod/lod_lov.c