Whamcloud - gitweb
LU-16778 tests: sanity-quota_75 fix 58/51158/3
authorSergey Cheremencev <scherementsev@ddn.com>
Tue, 30 May 2023 08:14:47 +0000 (11:14 +0300)
committerSergey Cheremencev <scherementsev@ddn.com>
Mon, 5 Jun 2023 09:51:55 +0000 (12:51 +0300)
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

lustre/tests/sanity-quota.sh

index 965b50b..fa935a9 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
 }