From: Vladimir Saveliev Date: Fri, 21 Feb 2020 00:17:10 +0000 (+0300) Subject: LU-13279 tests: sanityn.sh:test_20 takes DoM into account X-Git-Tag: 2.13.54~96 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=32989af838f8b5fa161014db732cd31934aa921a;p=fs%2Flustre-release.git LU-13279 tests: sanityn.sh:test_20 takes DoM into account sanityn.sh:test_20() should also cancel MDC locks as layout of files may include DoM component. Test-Parameters: testlist=sanityn Cray-bug-id: LUS-8348 Signed-off-by: Vladimir Saveliev Change-Id: I6157038235590d3c5b06d910c3b3d2600968a812 Reviewed-on: https://review.whamcloud.com/37662 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Mike Pershin Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/sanityn.sh b/lustre/tests/sanityn.sh index 1aa42c7..8e260e5 100755 --- a/lustre/tests/sanityn.sh +++ b/lustre/tests/sanityn.sh @@ -587,12 +587,12 @@ run_test 19 "test concurrent uncached read races ===============" test_20() { test_mkdir $DIR1/d20 - cancel_lru_locks $OSC + cancel_lru_locks CNT=$((`lctl get_param -n llite.*.dump_page_cache | wc -l`)) $MULTIOP $DIR1/f20 Ow8190c $MULTIOP $DIR2/f20 Oz8194w8190c $MULTIOP $DIR1/f20 Oz0r8190c - cancel_lru_locks $OSC + cancel_lru_locks CNTD=$((`lctl get_param -n llite.*.dump_page_cache | wc -l` - $CNT)) [ $CNTD -gt 0 ] && \ error $CNTD" page left in cache after lock cancel" || true