Whamcloud - gitweb
LU-13440 obdclass: server qos penalty miscaculated 85/43385/2
authorLai Siyao <lai.siyao@whamcloud.com>
Wed, 21 Apr 2021 12:05:52 +0000 (20:05 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 May 2021 02:52:07 +0000 (02:52 +0000)
commit0ccce7ecb72f847f4235a513424d90119edad7ca
treeab50c57293419ef968ae635a3429fb25226f47ab
parentc31fb42f9aa561aef8b09fd3ff400cff0166ee4d
LU-13440 obdclass: server qos penalty miscaculated

Server qos penalty calculation uses active target count, but it
should use server count, which will make it larger than expected,
then weight of targets are often 0, and finally cause MDT0 is
often chosen in qos allocation.

Fixes: 45222b2ef ("LU-12624 obdclass: lu_tgt_descs cleanup")
Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I1982363e4ff74c7344dd5e07d04e29214afa8a7f
Reviewed-on: https://review.whamcloud.com/43385
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
lustre/obdclass/lu_tgt_descs.c