Whamcloud - gitweb
LU-15393 lod: skip qos for qos_threshold_rr=100 88/46388/3
authorAlexander Boyko <alexander.boyko@hpe.com>
Mon, 31 Jan 2022 14:04:08 +0000 (09:04 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 Jun 2022 05:34:10 +0000 (05:34 +0000)
commit2f23140d5c1396fd0b247bd7f9c249f6e24096b7
treebbf991c76f9fb7e3a016ef20e21d6b9ea3de40f5
parented632855a599da7d8e2b73f5d3a31f4691f7633f
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.

HPE-bug-id: LUS-10388
Signed-off-by: Alexander Boyko <alexander.boyko@hpe.com>
Change-Id: I2fcc272d00a988ca4ba0f745b1d5809d65b28654
Reviewed-on: https://review.whamcloud.com/46388
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@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