Whamcloud - gitweb
LU-15393 lod: skip qos for qos_threshold_rr=100 96/49096/3
authorAlexander Boyko <alexander.boyko@hpe.com>
Tue, 24 Jan 2023 19:23:43 +0000 (11:23 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Mar 2023 06:43:35 +0000 (06:43 +0000)
commit0b1aa418ac26d879d4794db1aab360a2230c891d
tree1c3dd4094d17ffe5779cad69e79e02f81f978ed9
parent18c098261104fef9350e932d124d78296b0cc135
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-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49096
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@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