From: Alex Zhuravlev Date: Mon, 15 Apr 2024 05:38:39 +0000 (+0300) Subject: LU-17675 tests: flush opencache in sanity-flr/61a X-Git-Tag: 2.15.5-RC3~8 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=2ca4ae04e838dd75d46e4fcaefab56be1db312d4;p=fs%2Flustre-release.git LU-17675 tests: flush opencache in sanity-flr/61a flush opencache to update MDS's atime with close RPC Lustre-change: https://review.whamcloud.com/54788 Lustre-commit: 3e37a49ec072a65cfa76bbb242e125450bdc9676 Test-Parameters: trivial testlist=sanity-flr clientdistro=el9.3 Signed-off-by: Alex Zhuravlev Change-Id: I5f4d3400b3f772553ee6004ac271a4aa644699e0 Reviewed-by: Andreas Dilger Reviewed-by: James Simmons Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55461 Reviewed-by: Oleg Drokin Tested-by: jenkins Tested-by: Andreas Dilger Tested-by: Maloo --- diff --git a/lustre/tests/sanity-flr.sh b/lustre/tests/sanity-flr.sh index eab11e7..a947038 100644 --- a/lustre/tests/sanity-flr.sh +++ b/lustre/tests/sanity-flr.sh @@ -2922,6 +2922,9 @@ test_61a() { # LU-14508 echo XXXX > $file || error "write $file failed" cp -p $file $file-2 || error "copy $file-2 failed" + # flush opencache to update atime with close rpc + cancel_lru_locks mdc + echo "sleep $nap seconds" sleep $nap