Whamcloud - gitweb
LU-15393 lod: skip qos for qos_threshold_rr=100
authorAlexander Boyko <alexander.boyko@hpe.com>
Mon, 31 Jan 2022 14:04:08 +0000 (09:04 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 18 Aug 2022 06:44:37 +0000 (06:44 +0000)
commitde3e1cd525cfa920a09e99229245d6a8a7b627e3
treee9007c64dca9768e40908be72327292b9e0b4065
parenta44c4c7643d843f3353fba90c012af9b3dd83962
LU-15393 lod: skip qos for qos_threshold_rr=100

Current implementation of qos allocation is called for
every statfs update. It takes lq_rw_sem for write and
recalculate penalties, even whith setting qos_threshold_rr=100.
Which means always use rr allocation. Let's skip unnecessary
locking and calculation for 100% round robin allocation.

Lustre-change: https://review.whamcloud.com/46388
Lustre-commit: 2f23140d5c1396fd0b247bd7f9c249f6e24096b7

HPE-bug-id: LUS-10388
Signed-off-by: Alexander Boyko <alexander.boyko@hpe.com>
Change-Id: I2fcc272d00a988ca4ba0f745b1d5809d65b28654
Reviewed-on: https://review.whamcloud.com/48206
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lu_object.h
lustre/lmv/lproc_lmv.c
lustre/lod/lod_qos.c
lustre/lod/lproc_lod.c
lustre/obdclass/lu_tgt_descs.c