Whamcloud - gitweb
LU-13997 tests: fix sanity test_418 lock cancellation
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 13 Oct 2021 20:05:38 +0000 (14:05 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 14 Oct 2021 15:20:08 +0000 (15:20 +0000)
commita544b6ceb853dffd0da66ba84415bf81152be5bc
tree5d612a630401ce4937060c5f292d916492e66379
parentaafd849d840fc2a5285a091ab86d8719282c2a3f
LU-13997 tests: fix sanity test_418 lock cancellation

Use "do_nodes" directly to cancel DLM locks, rather than
"do_rpc_nodes", since that is very heavy to use in a loop
(each call takes 3s, but the loop delay is only 0.2s).

Due to DoM reserving grant space for the DoM files, the "avail"
space shown by "df" may be smaller in the aggregate returned by
the MDT compared to the individual values from "lfs df".

Skip this part of the check until MDC grant cancel is fixed.

Lustre-change: https://review.whamcloud.com/45231
Lustre-commit: TBD (from e4bb910bba91199af21199080c5f3eb1070c59c9)

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I83d989688ce671f0ff9c62ebdf3144746a3ebbe5
Reviewed-on: https://review.whamcloud.com/45232
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
lustre/tests/sanity.sh