Whamcloud - gitweb
LU-16778 tests: sanity-quota_75 fix 58/51158/4
authorSergey Cheremencev <scherementsev@ddn.com>
Tue, 30 May 2023 08:14:47 +0000 (11:14 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 28 Jun 2023 21:48:58 +0000 (21:48 +0000)
Change conf=fsync to oflag=direct to avoid
cache write.

Test-Parameters: trivial testlist=sanity-quota env=ONLY=75,ONLY_REPEAT=100
Signed-off-by: Sergey Cheremencev <scherementsev@ddn.com>
Change-Id: Iff04bac63f772dc2d0d0ad765d210b2539fbe33e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51158
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-quota.sh

index a041e21..f50fb56 100755 (executable)
@@ -5368,7 +5368,7 @@ test_dom_75() {
 
        $dd_failed && quota_error u $qid "write failed, expect succeed (3)"
 
-       $DD of=$DIR/$tdir/file count=$((LIMIT/2048 + 10)) conv=fsync &&
+       $DD of=$DIR/$tdir/file count=$((LIMIT/2048 + 10)) oflag=direct &&
                quota_error u $qid "write succeed, expect EDQUOT (3)"
        true
 }