Whamcloud - gitweb
LU-15841 lod: iterate component to collect avoid array 93/47293/1
authorBobi Jam <bobijam@whamcloud.com>
Wed, 11 May 2022 10:36:15 +0000 (18:36 +0800)
committerBobi Jam <bobijam@whamcloud.com>
Wed, 11 May 2022 10:36:15 +0000 (18:36 +0800)
commitd04b04056e45edc95117f0761359ddc4637d3f37
tree3b59b2e2f5a67286b6d78700df85c6896823bf37
parent5879647624c834d4a579f425a0fc8d408235e275
LU-15841 lod: iterate component to collect avoid array

In newly created file, the mirror information hasn't been established
as LOD is trying allocate OST for its components, so we need to
iterate component instead of mirror to collect the avoid guidance
information.

Test-Parameters: testlist=sanity-flr env=ONLY=47,ONLY_REPEAT=40
Fixes: fabf3fe7 ("LU-9007 lod: improve obj alloc for FLR file")
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I6bbe5f6b6dfea06c5213b77b7ebb6a5d28aa0d17
lustre/lod/lod_qos.c