Whamcloud - gitweb
LU-15841 lod: iterate component to collect avoid array 93/47293/3
authorBobi Jam <bobijam@whamcloud.com>
Wed, 11 May 2022 10:36:15 +0000 (18:36 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 6 Jun 2022 06:27:50 +0000 (06:27 +0000)
commit7f157f8ef374c4fc3dec6a91a29f4bf15b5e0969
treed07a4da863096173d78dfab962590a5cc78ff0ee
parenteb71aec27ee80a394f930890c34933de4bc1998e
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
Reviewed-on: https://review.whamcloud.com/47293
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_qos.c