Whamcloud - gitweb
LU-15740 tests: scale fs_log_size by OSTCOUNT 06/51606/2
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 24 Mar 2023 23:09:44 +0000 (17:09 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Oct 2023 13:47:23 +0000 (13:47 +0000)
commit34e1409cad412086d509349f64dc9d77911d2fb8
tree9c692bae2427edcc8d8899fe5d52a97fc1d77806
parentf144190bbe3728dc15fc731612f10fe3fad98bef
LU-15740 tests: scale fs_log_size by OSTCOUNT

The fs_log_size "free space skew" was being scaled by MDSCOUNT,
but in fact this parameter is only ever used to compare the OST
free space usage, so the OSTCOUNT should be used when scaling it.

It is likely that the skew is actually caused by blocks allocated
by OST object directories and not llogs (no llogs used on OSTs for
many years), but it isn't worthwhile to rename the function.

Lustre-change: https://review.whamcloud.com/50419
Lustre-commit: fabec6f2cb39950a2f208567dac716e21880fa9f

Test-Parameters: trivial testlist=runtests
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I97f05b10fa7ec367534b5bdce09feae5e93ebbe5
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51606
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/replay-ost-single.sh
lustre/tests/replay-single.sh
lustre/tests/test-framework.sh