Whamcloud - gitweb
LU-15841 lod: iterate component to collect avoid array
authorBobi Jam <bobijam@whamcloud.com>
Wed, 11 May 2022 10:27:55 +0000 (18:27 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 31 May 2022 15:05:42 +0000 (15:05 +0000)
commitd7d495f5229fc36cfc8c66113449197225ff8d6f
treee1b3ea9ceac44983d1657609970aef3be5b427e0
parentfe367969946167025d6b36a59760633dc4697364
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.

Lustre-change: https://review.whamcloud.com/47293
Lustre-commit: TBD (from d04b04056e45edc95117f0761359ddc4637d3f37)

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/47295
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/lod/lod_qos.c