Whamcloud - gitweb
LU-13997 tests: fix sanity test_418 lock cancellation 31/45231/4
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 13 Oct 2021 20:34:14 +0000 (14:34 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 26 Oct 2021 23:42:29 +0000 (23:42 +0000)
commitc0596c4d8af3bce6565c0e16a1469fcc65191404
tree604e940294f24edc99d4cd8b104098e9ffa86ed1
parent6a08df2d0effc7aa9d2a4428ff38c3b5df73d118
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.

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